/* ================================================================
   KrakenTheMeta — Landing rebuild: "Abyssal Arsenal"
   Deep-sea / arcane MTG aesthetic. Engraved Cinzel display type,
   asymmetric bento tool grid where each tile glows in an MTG
   mana color, abyssal depth glows, kraken watermark.
   Namespace: .ka-   (plays alongside existing .lp- dynamic sections)
   ================================================================ */

:root {
  --ka-display: 'Cinzel', Georgia, serif;
  --ka-body: 'Sora', -apple-system, BlinkMacSystemFont, sans-serif;
  --ka-abyss: #04101e;
  --ka-ink: #081f33;
  --ka-cyan: #a2e7ee;
  --ka-cyan-2: #7bc0e8;
  --ka-text-dim: #9fb6c9;
}

/* ---- Engraved headings across the whole below-fold (unifies old + new) ---- */
.lp-section-title,
.ka-title {
  font-family: var(--ka-display);
  letter-spacing: 0.5px;
}

/* Hero title — match the engraved Cinzel of the section headers below.
   Scoped to the homepage hero (this stylesheet only loads on index.php). */
.hero .section-header-title,
.hero .section-header-title span,
.hero .section-header-title b {
  font-family: var(--ka-display);
  font-weight: 700;
}
.hero .section-header-title-h1 {
  letter-spacing: 0;   /* Cinzel reads wide — no negative tracking */
  line-height: 1.16;
}
/* Default rule sets max-width:max-content, which forces each line to its
   unwrapped intrinsic width and overflows narrow screens. Cap to viewport. */
.hero .section-header-title { max-width: 100%; }
.hero .section-header-title span { overflow-wrap: break-word; }

@media (max-width: 768px) {
  .hero .section-header-title-h1 { font-size: 30px; line-height: 1.25; }
}
@media (max-width: 480px) {
  .hero .section-header-title-h1 { font-size: 22px; line-height: 1.3; }
}

/* "Create Free Account" pill — match the cyan eyebrow pills (.ka-eyebrow),
   but keep clear button affordances (hover fill + lift + pointer) since,
   unlike the eyebrow labels, this one is an actual link/CTA. */
.hero .section-header-badge {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-family: var(--ka-body);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 3px;
  text-transform: uppercase;
  line-height: 1;
  padding: 8px 16px;
  border-radius: 999px;
  border: 1px solid rgba(162, 231, 238, 0.22);
  background: rgba(162, 231, 238, 0.06);
  box-shadow: none;
  cursor: pointer;
  transition: background 0.25s ease, border-color 0.25s ease, transform 0.2s ease, box-shadow 0.25s ease;
}
/* repurpose the badge's ::before (was a gradient border ring) into the left
   dash, and add ::after for the right dash — matching the eyebrow flanks. */
.hero .section-header-badge::before,
.hero .section-header-badge::after {
  content: '';
  position: static;
  inset: auto;
  width: 16px;
  height: 1px;
  padding: 0;
  border-radius: 0;
  -webkit-mask: none;
  mask: none;
  background: linear-gradient(90deg, transparent, #a2e7ee);
}
.hero .section-header-badge::after {
  background: linear-gradient(90deg, #a2e7ee, transparent);
}
.hero .section-header-badge-text {
  background: none;
  -webkit-background-clip: border-box;
  background-clip: border-box;
  color: #a2e7ee;
  -webkit-text-fill-color: #a2e7ee;
}
.hero a.section-header-badge:hover {
  background: rgba(162, 231, 238, 0.16);
  border-color: rgba(162, 231, 238, 0.5);
  transform: translateY(-1px);
  box-shadow: 0 6px 18px -8px rgba(162, 231, 238, 0.55);
}

/* All rebuilt-landing elements use border-box so width:100% + padding never
   overflows the viewport (the site's global reset doesn't cover these). */
.ka-section,
.ka-section * { box-sizing: border-box; }

/* Align EVERY landing section to the same content width as .ka-section (1180px, centered)
   so the page reads as one consistent width — top-decks carousel, community, and final CTA. */
.published-decks-container { box-sizing: border-box; max-width: 1180px; margin: 0 auto; padding: 0 22px; }
/* release the outer sections' own 1200px cap + 20px side padding so the inners can reach 1180@center */
.lp-community, .lp-cta { max-width: none; padding-left: 0; padding-right: 0; }
.lp-community-inner, .lp-cta-inner { box-sizing: border-box; max-width: 1180px; margin: 0 auto; }

/* ===========================  SECTION SHELL  =========================== */
.ka-section {
  position: relative;
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding: 76px 22px;
  z-index: 1;
}


.ka-head {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 44px;
}

.ka-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-family: var(--ka-body);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--ka-cyan);
  padding: 7px 16px;
  border-radius: 999px;
  border: 1px solid rgba(162, 231, 238, 0.22);
  background: rgba(162, 231, 238, 0.06);
  margin-bottom: 20px;
}
.ka-eyebrow::before,
.ka-eyebrow::after {
  content: '';
  width: 16px; height: 1px;
  background: linear-gradient(90deg, transparent, var(--ka-cyan));
}
.ka-eyebrow::after { background: linear-gradient(90deg, var(--ka-cyan), transparent); }

.ka-title {
  font-size: clamp(28px, 5vw, 50px);
  font-weight: 700;
  line-height: 1.12;
  margin: 0 0 14px;
  color: #fff;
  overflow-wrap: break-word;
}
.ka-title .ka-grad {
  background: linear-gradient(110deg, #a2e7ee 0%, #7bc0e8 45%, #4196e0 100%);
  -webkit-background-clip: text; background-clip: text;
  color: transparent; -webkit-text-fill-color: transparent;
}
.ka-sub {
  font-family: var(--ka-body);
  font-size: clamp(15px, 2.2vw, 18px);
  line-height: 1.6;
  color: var(--ka-text-dim);
  margin: 0;
}

/* ===========================  BENTO ARSENAL  =========================== */
.ka-bento {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 1fr;
  gap: 16px;
  grid-template-areas:
    "build build search  search"
    "build build precons precons"
    "sets  sets  feed    feed"
    "decks decks analyze budget"
    "odds  collect games  brewers";
}
.ka-a-build   { grid-area: build; }
.ka-a-search  { grid-area: search; }
.ka-a-precons { grid-area: precons; }
.ka-a-analyze { grid-area: analyze; }
.ka-a-budget  { grid-area: budget; }
.ka-a-odds    { grid-area: odds; }
.ka-a-sets    { grid-area: sets; }
.ka-a-collect { grid-area: collect; }
.ka-a-decks   { grid-area: decks; }
.ka-a-feed    { grid-area: feed; }
.ka-a-games   { grid-area: games; }
.ka-a-brewers { grid-area: brewers; }

/* ---- Tool tile ---- */
.ka-tile {
  --acc: var(--ka-cyan);
  --acc2: var(--ka-cyan-2);
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 22px 22px 20px;
  border-radius: 18px;
  text-decoration: none;
  color: inherit;
  overflow: hidden;
  isolation: isolate;
  background:
    linear-gradient(165deg, rgba(255, 255, 255, 0.05) 0%, rgba(255, 255, 255, 0.012) 60%),
    var(--ka-ink);
  border: 1px solid rgba(162, 231, 238, 0.12);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
  transition: transform 0.35s cubic-bezier(.2,.8,.2,1), border-color 0.35s, box-shadow 0.35s;
}
/* accent glow that blooms from the icon corner */
.ka-tile::before {
  content: '';
  position: absolute;
  top: -40%; left: -20%;
  width: 220px; height: 220px;
  background: radial-gradient(circle, var(--acc), transparent 68%);
  opacity: 0.14;
  z-index: -1;
  transition: opacity 0.35s;
}
/* top sheen line in the accent color, revealed on hover */
.ka-tile::after {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; height: 2px;
  background: linear-gradient(90deg, transparent, var(--acc), transparent);
  opacity: 0;
  transition: opacity 0.35s;
}
.ka-tile:hover {
  transform: translateY(-6px);
  border-color: color-mix(in srgb, var(--acc) 55%, transparent);
  box-shadow: 0 20px 50px -18px color-mix(in srgb, var(--acc) 70%, transparent);
}
.ka-tile:hover::before { opacity: 0.26; }
.ka-tile:hover::after  { opacity: 0.9; }

.ka-ico {
  width: 50px; height: 50px;
  border-radius: 13px;
  display: flex; align-items: center; justify-content: center;
  font-size: 21px;
  color: var(--acc2);
  background:
    linear-gradient(160deg, color-mix(in srgb, var(--acc) 26%, transparent), color-mix(in srgb, var(--acc) 6%, transparent));
  border: 1px solid color-mix(in srgb, var(--acc) 38%, transparent);
  box-shadow: 0 8px 22px -10px color-mix(in srgb, var(--acc) 80%, transparent);
}
.ka-tile h3 {
  font-family: var(--ka-display);
  font-size: 18px;
  font-weight: 600;
  letter-spacing: 0.3px;
  color: #fff;
  margin: 4px 0 0;
  line-height: 1.25;
}
.ka-tile p {
  font-family: var(--ka-body);
  font-size: 13.5px;
  line-height: 21px;
  color: var(--ka-text-dim);
  margin: 0;
}
.ka-tile .ka-go {
  margin-top: auto;
  padding-top: 12px;
  font-family: var(--ka-body);
  font-size: 13px;
  font-weight: 600;
  color: var(--acc2);
  display: inline-flex;
  align-items: center;
  gap: 7px;
}
.ka-tile .ka-go i { font-size: 11px; transition: transform 0.3s; }
.ka-tile:hover .ka-go i { transform: translateX(5px); }

/* mana-color accent classes */
.ka-acc-u { --acc: #4196e0; --acc2: #9cd2f5; }
.ka-acc-g { --acc: #3fbf86; --acc2: #87e6b8; }
.ka-acc-r { --acc: #e0584f; --acc2: #ff9a8d; }
.ka-acc-b { --acc: #9b7be6; --acc2: #cdb6ff; }
.ka-acc-w { --acc: #e0c45a; --acc2: #f7e7a6; }
.ka-acc-c { --acc: #a2e7ee; --acc2: #c9f6fa; }

/* ---- Marquee "build" tile (the hero of the bento) ---- */
.ka-a-build {
  --acc: #a2e7ee; --acc2: #c9f6fa;
  padding: 30px;
  justify-content: flex-start;
  background:
    radial-gradient(420px 300px at 85% 0%, rgba(162, 231, 238, 0.14), transparent 62%),
    linear-gradient(165deg, rgba(255,255,255,0.06), rgba(255,255,255,0.012)),
    var(--ka-ink);
}
.ka-a-build .ka-badge {
  align-self: flex-start;
  display: inline-flex; align-items: center; gap: 7px;
  font-family: var(--ka-body);
  font-size: 12px; font-weight: 600; letter-spacing: 1px; text-transform: uppercase;
  color: #05101c;
  padding: 6px 13px; border-radius: 999px;
  background: linear-gradient(135deg, #a2e7ee, #4196e0);
}
.ka-a-build h3 {
  font-size: clamp(22px, 2.5vw, 30px);
  margin: 16px 0 8px;
}
.ka-a-build .ka-build-desc {
  font-size: 15px; line-height: 23px; max-width: 92%;
}
.ka-build-mock {
  margin-top: 18px;
  border-radius: 14px;
  border: 1px solid rgba(162, 231, 238, 0.16);
  background: rgba(3, 12, 22, 0.55);
  padding: 14px 16px;
  font-family: var(--ka-body);
}
.ka-mock-bar {
  display: flex; align-items: center; gap: 9px;
  font-size: 13.5px; color: #d8ecf6; font-weight: 500;
}
.ka-mock-bar i { color: var(--ka-cyan); }
.ka-mock-row {
  display: flex; align-items: center; justify-content: space-between;
  padding: 8px 0; border-top: 1px solid rgba(255,255,255,0.06);
  font-size: 13px; color: #c4d6e2;
}
.ka-mock-row:first-of-type { margin-top: 10px; }
.ka-pips { display: inline-flex; gap: 4px; }
.ka-pip { width: 13px; height: 13px; border-radius: 50%; box-shadow: inset 0 0 0 1px rgba(0,0,0,.3); }
.ka-pip-w { background: #f7e7a6; } .ka-pip-u { background: #6fb6ef; }
.ka-pip-b { background: #b59ae8; } .ka-pip-r { background: #ef8b7e; }
.ka-pip-g { background: #7fe0b0; }
.ka-mock-foot {
  display: flex; align-items: center; justify-content: space-between;
  margin-top: 10px; padding-top: 10px; border-top: 1px solid rgba(255,255,255,0.06);
  font-size: 12.5px; color: var(--ka-cyan);
}
.ka-build-cta {
  margin-top: 20px;
  display: inline-flex; align-items: center; gap: 9px;
  align-self: flex-start;
  padding: 13px 26px; border-radius: 11px;
  font-family: var(--ka-body); font-weight: 600; font-size: 15px;
  color: #05101c; text-decoration: none;
  background: linear-gradient(135deg, #a2e7ee, #4196e0);
  transition: transform 0.2s, box-shadow 0.2s;
}
.ka-build-cta:hover { transform: translateY(-2px); box-shadow: 0 12px 30px -10px rgba(162,231,238,.6); }

/* ===========================  HOW IT WORKS  =========================== */
.ka-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  position: relative;
}
/* connecting current line behind the nodes */
.ka-steps::before {
  content: '';
  position: absolute;
  top: 42px; left: 14%; right: 14%; height: 2px;
  background: linear-gradient(90deg, transparent, rgba(162,231,238,.4), rgba(65,150,224,.4), transparent);
  z-index: 0;
}
.ka-step {
  position: relative; z-index: 1;
  text-align: center;
  padding: 0 14px;
}
.ka-step-num {
  width: 60px; height: 60px; margin: 0 auto 18px;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--ka-display);
  font-size: 24px; font-weight: 700; color: #05101c;
  border-radius: 50%;
  background: linear-gradient(135deg, #a2e7ee, #4196e0);
  box-shadow: 0 0 0 8px rgba(8, 31, 51, 1), 0 0 30px -4px rgba(162,231,238,.6);
}
.ka-step h3 {
  font-family: var(--ka-display);
  font-size: 19px; font-weight: 600; color: #fff; margin: 0 0 8px;
}
.ka-step p {
  font-family: var(--ka-body);
  font-size: 14px; line-height: 22px; color: var(--ka-text-dim); margin: 0;
}

/* ===========================  WHY STRIP  =========================== */
.ka-why {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid rgba(162, 231, 238, 0.14);
  background: linear-gradient(180deg, rgba(255,255,255,0.04), rgba(255,255,255,0.01));
}
.ka-why-item {
  text-align: center;
  padding: 34px 22px;
  border-left: 1px solid rgba(162, 231, 238, 0.10);
}
.ka-why-item:first-child { border-left: none; }
.ka-why-ico {
  font-size: 24px; color: var(--ka-cyan); margin-bottom: 12px;
}
.ka-why-item h3 {
  font-family: var(--ka-display);
  font-size: 17px; color: #fff; margin: 0 0 6px;
}
.ka-why-item p {
  font-family: var(--ka-body);
  font-size: 13px; line-height: 20px; color: var(--ka-text-dim); margin: 0;
}

/* ===========================  FAQ  =========================== */
.ka-faq-list { max-width: 100%; margin: 0 auto; display: grid; grid-template-columns: 1fr 1fr; gap: 13px; }
@media (max-width: 720px) { .ka-faq-list { grid-template-columns: 1fr; } }
.ka-faq-item {
  background: linear-gradient(180deg, rgba(255,255,255,0.04), rgba(255,255,255,0.01));
  border: 1px solid rgba(162, 231, 238, 0.13);
  border-radius: 14px; overflow: hidden;
  transition: border-color 0.25s, background 0.25s;
}
.ka-faq-item[open] {
  border-color: rgba(162, 231, 238, 0.32);
  background: linear-gradient(180deg, rgba(162,231,238,0.07), rgba(65,150,224,0.02));
}
.ka-faq-q {
  list-style: none; cursor: pointer;
  padding: 20px 24px;
  font-family: var(--ka-display);
  font-size: 17px; font-weight: 600; color: #fff;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
}
.ka-faq-q::-webkit-details-marker { display: none; }
.ka-faq-chev { flex-shrink: 0; font-size: 14px; color: var(--ka-cyan); transition: transform 0.25s; }
.ka-faq-item[open] .ka-faq-chev { transform: rotate(180deg); }
.ka-faq-a {
  padding: 0 24px 22px; margin: 0;
  font-family: var(--ka-body);
  font-size: 14.5px; line-height: 24px; color: var(--ka-text-dim);
}
.ka-faq-a a { color: var(--ka-cyan); text-decoration: none; }
.ka-faq-a a:hover { text-decoration: underline; }

/* ===========================  SCROLL REVEAL  =========================== */
.ka-anim .ka-reveal { opacity: 0; transform: translateY(22px); }
.ka-anim .ka-reveal.in {
  opacity: 1; transform: none;
  transition: opacity 0.7s cubic-bezier(.2,.8,.2,1), transform 0.7s cubic-bezier(.2,.8,.2,1);
}

/* ===========================  RESPONSIVE  =========================== */
@media (max-width: 1024px) {
  .ka-section { padding: 60px 18px; }
  .ka-bento {
    grid-template-columns: repeat(2, 1fr);
    grid-template-areas:
      "build build"
      "precons precons"
      "search search"
      "analyze budget"
      "odds sets"
      "collect decks"
      "feed feed"
      "games brewers";
  }
  .ka-why { grid-template-columns: repeat(2, 1fr); }
  .ka-why-item:nth-child(2) { border-left: none; }
  .ka-why-item:nth-child(3),
  .ka-why-item:nth-child(4) { border-top: 1px solid rgba(162,231,238,.10); }
  .ka-why-item:nth-child(3) { border-left: none; }
}

@media (max-width: 640px) {
  .ka-section { padding: 46px 15px; }
  .ka-head { padding: 0 4px; margin-bottom: 32px; }
  .ka-title { font-size: 26px; letter-spacing: 0; line-height: 1.2; }
  .ka-eyebrow { letter-spacing: 2px; font-size: 11px; }
  .ka-bento {
    display: flex;
    flex-direction: column;
    gap: 12px;
  }
  /* On mobile, non-marquee tiles become sleek horizontal rows — not stacked squares */
  .ka-tile:not(.ka-a-build) {
    flex-direction: row;
    align-items: center;
    gap: 15px;
    padding: 16px 18px;
  }
  .ka-tile:not(.ka-a-build) .ka-ico { flex-shrink: 0; }
  .ka-tile:not(.ka-a-build) .ka-go {
    margin: 0 0 0 auto; padding: 0;
    font-size: 0;
  }
  .ka-tile:not(.ka-a-build) .ka-go i { font-size: 14px; }
  .ka-tile:not(.ka-a-build) p { display: none; } /* keep the row tight + scannable */
  .ka-tile:not(.ka-a-build) h3 { margin: 0; font-size: 16px; }

  .ka-steps { grid-template-columns: 1fr; gap: 26px; }
  .ka-steps::before { display: none; }
  .ka-why { grid-template-columns: 1fr; }
  .ka-why-item { border-left: none !important; border-top: 1px solid rgba(162,231,238,.10); }
  .ka-why-item:first-child { border-top: none; }
  .ka-faq-q { font-size: 15.5px; padding: 18px; }
  .ka-faq-a { padding: 0 18px 20px; }
}

/* ================================================================
   KRAKEN ASSISTANT section (.kasst-) — desktop app pitch + demo +
   pricing. Conversion surface for Kraken Pro.
   ================================================================ */
.kasst, .kasst * { box-sizing: border-box; }

.kasst-eyebrow i { margin-right: 6px; }

.kasst-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 34px; align-items: center; max-width: 1060px; margin: 0 auto 40px; }

/* --- pitch --- */
.kasst-feat { display: flex; gap: 16px; padding: 16px 0; }
.kasst-feat + .kasst-feat { border-top: 1px solid rgba(162,231,238,.1); }
.kasst-feat-ico { width: 44px; height: 44px; flex-shrink: 0; border-radius: 12px; display: flex; align-items: center; justify-content: center;
  background: rgba(162,231,238,.08); border: 1px solid rgba(162,231,238,.18); color: var(--ka-cyan); font-size: 17px; }
.kasst-feat h3 { font-family: var(--ka-display); font-size: 17px; color: #fff; margin: 0 0 5px; display: flex; align-items: center; gap: 8px; }
.kasst-feat p { font-family: var(--ka-body); font-size: 13.5px; color: var(--ka-text-dim); line-height: 1.6; margin: 0; }
.kasst-free-tag, .kasst-pro-tag { font-family: var(--ka-body); font-size: 9.5px; font-weight: 700; letter-spacing: .8px; text-transform: uppercase; padding: 3px 9px; border-radius: 100px; }
.kasst-free-tag { background: rgba(63,191,134,.14); color: #87e6b8; border: 1px solid rgba(63,191,134,.3); }
.kasst-pro-tag { background: linear-gradient(135deg,#a2e7ee,#4196e0); color: #05101c; }

.kasst-ctas { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; margin-top: 22px; }
.kasst-btn { display: inline-flex; align-items: center; justify-content: center; gap: 9px; padding: 13px 26px; border-radius: 12px;
  font-family: var(--ka-body); font-size: 14px; font-weight: 600; text-decoration: none; transition: transform .15s, box-shadow .2s, background .2s; }
.kasst-btn--primary { background: linear-gradient(135deg,#a2e7ee,#4196e0); color: #05101c !important; }
.kasst-btn--primary:hover { transform: translateY(-2px); box-shadow: 0 14px 30px -10px rgba(162,231,238,.55); color: #05101c; }
.kasst-btn--ghost { background: rgba(162,231,238,.06); color: var(--ka-cyan) !important; border: 1px solid rgba(162,231,238,.22); }
.kasst-btn--ghost:hover { background: rgba(162,231,238,.14); color: var(--ka-cyan); }
.kasst-mac { font-family: var(--ka-body); font-size: 12px; color: #6f879b; border: 1px dashed rgba(162,231,238,.2); border-radius: 100px; padding: 9px 16px; }
.kasst-note { font-family: var(--ka-body); font-size: 11.5px; color: #6f879b; margin: 12px 0 0; }

/* --- demo window (mirrors the real overlay) --- */
.kasst-demo { display: flex; justify-content: center; }
.kasst-win { width: 100%; max-width: 350px; border-radius: 18px; overflow: hidden;
  background: linear-gradient(170deg, #0a2440, #061729 70%); border: 1px solid rgba(162,231,238,.22);
  box-shadow: 0 30px 70px -30px rgba(0,0,0,.8), 0 0 50px -20px rgba(65,150,224,.35);
  font-family: var(--ka-body); animation: kasst-float 6s ease-in-out infinite; }
@keyframes kasst-float { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-9px); } }
.kasst-win-bar { display: flex; align-items: center; justify-content: space-between; padding: 11px 16px;
  border-bottom: 1px solid rgba(162,231,238,.12); background: rgba(162,231,238,.05); }
.kasst-win-logo { font-family: var(--ka-display); font-size: 13px; color: #fff; }
.kasst-win-logo b { color: var(--ka-cyan); }
.kasst-live { font-size: 10px; font-weight: 700; letter-spacing: 1px; color: #87e6b8; }
.kasst-win-stats { display: grid; grid-template-columns: 1fr 1.2fr 1fr; gap: 8px; padding: 14px 16px 6px; text-align: center; }
.kasst-stat b { display: block; font-family: var(--ka-display); font-size: 21px; color: #fff; }
.kasst-stat--turn b { color: var(--ka-cyan); font-size: 15px; padding-top: 4px; }
.kasst-stat span { font-size: 9.5px; letter-spacing: 1px; text-transform: uppercase; color: #6f879b; }
.kasst-lib { display: flex; justify-content: space-between; padding: 10px 16px 6px; font-size: 10.5px; letter-spacing: .8px; text-transform: uppercase; color: #6f879b; }
.kasst-lib b { color: var(--ka-cyan); }
.kasst-rows { padding: 0 12px; }
.kasst-row { display: flex; justify-content: space-between; align-items: center; font-size: 12.5px; color: #eaf4fb;
  background: rgba(255,255,255,.035); border: 1px solid rgba(162,231,238,.08); border-radius: 9px; padding: 8px 12px; margin-bottom: 6px; }
.kasst-odds { color: var(--ka-cyan); font-weight: 600; font-size: 11.5px; }
.kasst-chat { margin: 10px 12px 14px; border: 1px solid rgba(162,231,238,.16); border-radius: 12px; background: rgba(4,16,30,.55); padding: 12px; }
.kasst-chat-head { font-family: var(--ka-display); font-size: 11px; color: var(--ka-cyan); letter-spacing: 1px; margin-bottom: 8px; }
.kasst-msg { font-size: 12.5px; color: #cfe6f5; line-height: 1.55; min-height: 56px; transition: opacity .35s; }
.kasst-chat-btn { margin-top: 10px; text-align: center; font-size: 12px; font-weight: 600; color: #05101c;
  background: linear-gradient(135deg,#a2e7ee,#4196e0); border-radius: 9px; padding: 8px; }

/* --- pricing tiles --- */
.kasst-pricing { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; max-width: 1060px; margin: 0 auto; align-items: stretch; }
.kasst-tile { position: relative; overflow: hidden; display: flex; flex-direction: column; border-radius: 18px; padding: 26px;
  background: linear-gradient(165deg, rgba(255,255,255,.04), rgba(255,255,255,.008) 60%), #081f33; border: 1px solid rgba(162,231,238,.12); }
.kasst-tile--pro { border-color: rgba(162,231,238,.3);
  background: linear-gradient(165deg, rgba(162,231,238,.11), rgba(65,150,224,.04) 60%), #081f33;
  box-shadow: 0 24px 60px -30px rgba(65,150,224,.45); }
.kasst-tile--pro::before { content: ''; position: absolute; left: 0; top: 0; bottom: 0; width: 3px; background: linear-gradient(180deg,#a2e7ee,#4196e0); }
.kasst-flag { position: absolute; top: 0; right: 0; font-family: var(--ka-body); font-size: 9px; font-weight: 700; letter-spacing: .8px; text-transform: uppercase;
  background: linear-gradient(135deg,#a2e7ee,#4196e0); color: #05101c; padding: 5px 13px; border-radius: 0 0 0 11px; }
.kasst-tile h3 { font-family: var(--ka-display); font-size: 17px; color: #fff; margin: 0 0 4px; }
.kasst-price { font-family: var(--ka-display); font-size: 30px; font-weight: 700; color: var(--ka-cyan); margin-bottom: 14px; }
.kasst-price span { font-family: var(--ka-body); font-size: 13px; font-weight: 500; color: var(--ka-text-dim); }
.kasst-tile ul { list-style: none; margin: 0 0 20px; padding: 0; display: flex; flex-direction: column; gap: 9px; flex: 1; }
.kasst-tile li { font-family: var(--ka-body); font-size: 13px; color: var(--ka-text-dim); padding-left: 21px; position: relative; line-height: 1.45; }
.kasst-tile li::before { content: '✓'; position: absolute; left: 0; color: var(--ka-cyan); font-weight: 700; }
.kasst-tile li b { color: #eaf4fb; }
.kasst-tile .kasst-btn { width: 100%; }

/* --- responsive --- */
@media (max-width: 900px) {
  .kasst-grid { grid-template-columns: 1fr; gap: 30px; }
  .kasst-demo { order: -1; }
  .kasst-pricing { grid-template-columns: 1fr; max-width: 480px; }
}

/* overview video (replaces the animated mock on index + /arena-assistant) */
.kasst-video { width: 100%; max-width: 680px; display: block; border-radius: 18px;
  border: 1px solid rgba(162,231,238,.3); background: #04101e; cursor: pointer;
  box-shadow: 0 34px 80px -32px rgba(0,0,0,.85), 0 0 70px -22px rgba(65,150,224,.45); }
@media (min-width: 901px) {
  .kasst-grid { grid-template-columns: 1fr 1.08fr; } /* 16:9 video earns a wider column */
}
