/* easyanalytics.co's homepage (R128): canvas option K with dashboard preview B. Classes only:
   the site's CSP allows no inline styles. Fonts and base rules come from site.css. */

.k-top { display: flex; flex-wrap: wrap; align-items: center; gap: 0.75rem 1.75rem; padding-top: 1rem; padding-bottom: 1rem; }
.k-nav { display: flex; flex-wrap: wrap; gap: 0.25rem 1.4rem; flex: 1 1 auto; font-size: 0.875rem; }
.k-nav a { color: #5f5f5f; text-decoration: none; }
.k-nav a:hover { color: var(--ink); }
.k-signin { font-size: 0.875rem; color: var(--ink); text-decoration: none; }
.k-signin:hover { color: var(--ink); text-decoration: underline; }
.k-cta { font-size: 0.875rem; font-weight: 500; color: #fff; background: #0a0a0a; text-decoration: none; padding: 0.55rem 1rem; border-radius: 0.5rem; }
.k-cta:hover { color: #fff; background: #333; }
.k-rule { border-bottom: 1px solid #ececec; }

.k-hero { text-align: center; padding-top: 6.5rem; padding-bottom: 3rem; }
.k-hero h1 { max-width: 54rem; margin: 0 auto; font-size: clamp(2.9rem, 7vw, 5.25rem); line-height: 1.02; letter-spacing: -0.04em; }
.k-trusted { margin-top: 2.75rem; font-size: 0.8125rem; font-weight: 500; color: #6b6b6b; letter-spacing: 0.04em; }
.k-logos { margin-top: 1rem; display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 1.25rem 3rem; color: #6b6b6b; }
.k-logo { display: inline-flex; align-items: center; gap: 0.55rem; font-size: 1.25rem; font-weight: 600; letter-spacing: -0.02em; }
.k-logo svg { display: block; }

.k-plans { padding-bottom: 3.5rem; }
.k-switch-wrap { text-align: center; }
.k-switch { display: inline-flex; gap: 4px; background: #f2f2f2; border-radius: 12px; padding: 4px; }
.k-switch button { font: inherit; font-size: 0.95rem; font-weight: 500; padding: 0.6rem 1.25rem; border-radius: 9px; border: 0; cursor: pointer; min-height: 2.75rem; background: transparent; color: #5f5f5f; }
.k-switch button[aria-pressed="true"] { background: #fff; color: #0a0a0a; box-shadow: 0 1px 2px rgba(0, 0, 0, 0.08); }
.k-cards { margin-top: 1.75rem; display: grid; grid-template-columns: repeat(auto-fit, minmax(19rem, 1fr)); gap: 1rem; }
.k-card { border: 1px solid #e5e5e5; padding: 2rem; border-radius: 18px; display: flex; flex-direction: column; gap: 0.9rem; }
.k-card.on { border: 2px solid #0a0a0a; padding: calc(2rem - 1px); }
.k-name { font-weight: 600; }
.k-price { font-size: 3.75rem; font-weight: 700; letter-spacing: -0.045em; line-height: 1; }
.k-price small { font-size: 1.125rem; font-weight: 400; color: #5f5f5f; letter-spacing: 0; }
.k-says { font-size: 1.0625rem; }
.k-list { margin: 0; padding-left: 1.25rem; color: #3d3d3d; display: flex; flex-direction: column; gap: 0.375rem; }
.k-buy { margin-top: auto; text-align: center; font-weight: 500; color: #fff; background: #0a0a0a; text-decoration: none; padding: 0.875rem 1.25rem; border-radius: 10px; }
.k-buy:hover { color: #fff; background: #333; }
.k-buy.ghost { color: #0a0a0a; background: #fff; border: 1px solid #d9d9d9; }
.k-buy.ghost:hover { color: #0a0a0a; background: #fafafa; }
.k-buy.soon { color: #6b6b6b; background: #f2f2f2; cursor: default; }
.k-note { text-align: center; font-size: 0.8125rem; color: #5f5f5f; }

.k-section { padding-top: 4.5rem; padding-bottom: 1.5rem; }
.k-section h2 { font-size: clamp(1.6rem, 3.2vw, 2.25rem); letter-spacing: -0.025em; line-height: 1.15; }
.k-narrow { max-width: 55rem; }
.k-faqwrap { max-width: 47.5rem; }

/* Dashboard preview (B): tilted, fading into the page. The section spans the window and hides
   what the tilt pushes past it (no sideways scroll); the stage cuts only its own bottom edge, so
   the shadow shows at the sides. */
.k-preview { padding-top: 1.5rem; overflow: hidden; }
.k-stage { perspective: 1800px; height: 31rem; position: relative; clip-path: inset(-12rem -12rem 0 -12rem); }
.k-tilt { transform: rotateX(16deg) scale(0.94); transform-origin: top center; box-shadow: 0 40px 90px rgba(15, 30, 60, 0.2); border-radius: 12px; }
.k-fade { position: absolute; left: -12rem; right: -12rem; bottom: 0; height: 9rem; background: linear-gradient(rgba(255, 255, 255, 0), #fff); }
.d { border: 1px solid #e5e5e5; border-radius: 12px; overflow: hidden; background: #fff; font-size: 13px; text-align: left; color: #0a0a0a; line-height: 1.5; }
.d-body { display: flex; }
.d-rail { width: 52px; flex: none; border-right: 1px solid #eee; padding: 14px 0; display: flex; flex-direction: column; align-items: center; gap: 16px; }
.d-ri { width: 18px; height: 18px; border-radius: 5px; background: #ececec; }
.d-ri.on { background: #0a0a0a; }
.d-main { flex: 1; min-width: 0; padding: 16px 18px; }
.d-head { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.d-site { font-weight: 600; font-size: 14px; }
.d-chips { display: flex; gap: 2px; background: #f2f2f2; border-radius: 8px; padding: 2px; margin-left: 6px; }
.d-chip { padding: 4px 9px; border-radius: 6px; color: #6b6b6b; font-size: 12px; }
.d-chip.on { background: #fff; color: #0a0a0a; box-shadow: 0 1px 2px rgba(0, 0, 0, 0.08); }
.d-live { margin-left: auto; display: flex; align-items: center; gap: 6px; font-size: 12px; border: 1px solid #e5e5e5; border-radius: 999px; padding: 4px 10px; }
.d-ld { width: 7px; height: 7px; border-radius: 50%; background: #16a34a; box-shadow: 0 0 0 3px rgba(22, 163, 74, 0.18); }
.d-tabs { display: flex; margin-top: 14px; border: 1px solid #eee; border-radius: 10px; overflow: hidden; }
.d-tab { padding: 10px 14px; border-right: 1px solid #eee; }
.d-tab.on { box-shadow: inset 0 -2px 0 #0a0a0a; }
.d-tl { color: #6b6b6b; font-size: 12px; }
.d-tn { font-size: 22px; font-weight: 600; letter-spacing: -0.02em; line-height: 1.2; }
.d-tw { font-size: 11px; color: #16803d; }
.d-chart { position: relative; margin-top: 10px; }
.d-chart svg { display: block; height: auto; }
.d-tip { position: absolute; top: 4px; left: calc(81.7% - 196px); width: 180px; background: #fff; border: 1px solid #e5e5e5; border-radius: 10px; box-shadow: 0 8px 24px rgba(15, 30, 60, 0.12); padding: 10px 12px; font-size: 12px; }
.d-tip-day { font-weight: 600; margin-bottom: 6px; }
.d-tip-row { display: flex; justify-content: space-between; gap: 8px; }
.d-tip-row.prev { color: #6b6b6b; margin-top: 3px; }
.d-key { display: inline-flex; align-items: center; gap: 6px; }
.d-sw { width: 8px; height: 8px; border-radius: 50%; background: #0070f3; }
.d-sw.prev { background: #fff; border: 2px solid #b3b3b3; }
.d-up { margin-top: 6px; color: #16803d; }
.d-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin-top: 12px; }
.d-card { border: 1px solid #eee; border-radius: 10px; padding: 10px 12px; }
.d-ct { font-weight: 600; font-size: 12px; margin-bottom: 6px; }
.d-row { position: relative; display: flex; justify-content: space-between; padding: 4px 6px; margin: 2px 0; border-radius: 4px; font-size: 12px; }
.d-fill { position: absolute; left: 0; top: 0; bottom: 0; border-radius: 4px; background: #eaf3ff; }
.d-row > span { position: relative; }
.d-ico { display: inline-flex; align-items: center; gap: 7px; }
.d-flag { border-radius: 2px; }
.w100 { width: 100%; } .w74 { width: 74%; } .w72 { width: 72%; } .w53 { width: 53%; } .w48 { width: 48%; } .w32 { width: 32%; } .w24 { width: 24%; }

/* Compare */
.k-table-box { margin-top: 1.25rem; border: 1px solid #e5e5e5; border-radius: 14px; overflow-x: auto; position: relative; }
.k-table { width: 100%; min-width: 32rem; border-collapse: collapse; font-size: 0.9375rem; }
.k-table th, .k-table td { text-align: left; vertical-align: top; padding: 0.8rem 1.25rem; }
.k-table thead tr { background: #fafafa; }
.k-table tbody tr { border-top: 1px solid #ececec; }
.k-table tbody th { font-weight: 500; color: #5f5f5f; width: 28%; }
.k-table thead th { font-weight: 600; }
.k-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* Included in both */
.k-features { margin-top: 2.5rem; display: grid; grid-template-columns: repeat(auto-fit, minmax(16rem, 1fr)); gap: 2.5rem 3.5rem; }
.k-feature { display: flex; gap: 1rem; align-items: flex-start; }
.k-feature svg { flex: none; margin-top: 2px; }
.k-feature h3 { font-size: 1rem; letter-spacing: -0.01em; line-height: 1.4; }
.k-feature p { margin-top: 0.25rem; font-size: 0.9375rem; color: #5f5f5f; }

/* FAQ */
.k-faq { border-top: 1px solid #e5e5e5; padding: 1rem 0; }
.k-faq:last-of-type { border-bottom: 1px solid #e5e5e5; }
.k-faq summary { cursor: pointer; font-size: 1.0625rem; font-weight: 500; }
.k-faq p { margin-top: 0.5rem; color: #5f5f5f; }

/* Closing */
.k-end { text-align: center; padding-top: 4rem; padding-bottom: 6.5rem; }
.k-end h2 { font-size: clamp(1.9rem, 4vw, 3rem); letter-spacing: -0.035em; line-height: 1.1; }
.k-end-row { margin-top: 1.6rem; display: flex; flex-wrap: wrap; justify-content: center; gap: 0.75rem; }
.k-end-row .k-buy { margin-top: 0; padding: 0.875rem 1.4rem; }

.k-foot { border-top: 1px solid #ececec; }
.k-foot-in { display: flex; flex-wrap: wrap; gap: 0.6rem 1.5rem; padding-top: 1.75rem; padding-bottom: 1.75rem; font-size: 0.875rem; color: #5f5f5f; }
.k-foot a { color: #5f5f5f; }

@media (max-width: 760px) {
  .k-top { flex-wrap: nowrap; gap: 1rem; }
  .k-nav { display: none; }
  .k-signin { margin-left: auto; }
  .k-hero { padding-top: 4rem; }
  .k-stage { height: 30rem; }
  .k-table { min-width: 0; font-size: 0.875rem; }
  .k-table th, .k-table td { padding: 0.7rem 0.75rem; }
  .k-tilt { transform: rotateX(10deg) scale(0.98); }
  .d-rail, .d-chips, .d-tip { display: none; }
  .d-cards { grid-template-columns: 1fr; }
  .d-tab { padding: 8px 10px; }
  .d-tn { font-size: 18px; }
}
