:root {
  --keewo-primary: #80ffdb;
  --keewo-primary-600: #4be6c9;
  --keewo-primary-700: #1fbda1;
  --keewo-success: #34d399;
  --keewo-success-700: #059669;
  --keewo-warning: #fbbf24;
  --keewo-warning-700: #b45309;
  --keewo-danger: #f87171;
  --keewo-danger-700: #dc2626;
  --keewo-info: #60a5fa;
  --keewo-info-700: #2563eb;
  --keewo-neutral: #e2e8f0;
  --keewo-neutral-700: #475569;
  --keewo-text: #0f172a;
  --keewo-muted: #64748b;
  --keewo-border: rgba(15, 23, 42, 0.14);
  --keewo-surface: #ffffff;
  --keewo-surface-muted: #f8fafc;
  --keewo-surface-strong: #e2e8f0;
  --keewo-shadow: 0 24px 60px rgba(15, 23, 42, 0.08);
  --keewo-radius-sm: 12px;
  --keewo-radius-md: 20px;
  --keewo-radius-lg: 28px;
  --font-body: 'IBM Plex Sans', 'Segoe UI', sans-serif;
  --font-heading: 'Manrope', 'Segoe UI', sans-serif;
  --container-max-width: 1180px;
  --section-padding: 88px 0;
  --header-height: 84px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--keewo-text);
  line-height: 1.65;
  background:
    radial-gradient(circle at top left, rgba(128, 255, 219, 0.24), transparent 28%),
    linear-gradient(180deg, #eef6f7 0%, #f8fafc 24%, #ffffff 100%);
}

body[data-nav-open='true'] {
  overflow: hidden;
}

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

a {
  color: var(--keewo-primary-700);
  text-decoration: none;
}

a:hover {
  color: var(--keewo-primary-600);
}

p,
li {
  color: var(--keewo-neutral-700);
}

h1,
h2,
h3,
h4,
h5,
h6 {
  margin-top: 0;
  margin-bottom: 0.75rem;
  font-family: var(--font-heading);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.04em;
  color: var(--keewo-text);
}

main {
  display: block;
}

section {
  padding: var(--section-padding);
}

ul,
ol {
  margin: 0;
  padding-left: 1.2rem;
}

button,
.btn {
  font: inherit;
}

.skip-link {
  position: absolute;
  left: 16px;
  top: -80px;
  z-index: 200;
  padding: 12px 16px;
  border-radius: 999px;
  background: var(--keewo-text);
  color: #fff;
  transition: top 0.2s ease;
}

.skip-link:focus {
  top: 16px;
}

.container {
  width: min(100% - 40px, var(--container-max-width));
  margin: 0 auto;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 18px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--keewo-primary-700);
}

.eyebrow::before {
  content: '';
  width: 28px;
  height: 1px;
  background: currentColor;
}

.lead {
  font-size: clamp(1.1rem, 1.8vw, 1.35rem);
  color: var(--keewo-text);
}

.section-header {
  max-width: 760px;
  margin-bottom: 44px;
}

.section-header.centered {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.section-header h2 {
  font-size: clamp(2rem, 3vw, 3rem);
}

.section-header p {
  margin: 0;
  font-size: 1.05rem;
}

.section-tone-soft {
  background: linear-gradient(180deg, rgba(226, 232, 240, 0.44), rgba(255, 255, 255, 0));
}

.section-tone-white {
  background: rgba(255, 255, 255, 0.92);
}

.section-tone-panel {
  background: linear-gradient(180deg, rgba(15, 23, 42, 0.02), rgba(15, 23, 42, 0.06));
}

.section-tone-hero {
  padding-top: calc(var(--header-height) + 54px);
  padding-bottom: 72px;
}

.section-tone-accent {
  background:
    linear-gradient(135deg, rgba(31, 189, 161, 0.12), rgba(96, 165, 250, 0.08)),
    #ffffff;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 1px solid rgba(15, 23, 42, 0.08);
  background: rgba(248, 250, 252, 0.88);
  backdrop-filter: blur(18px);
}

.header-shell {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: var(--header-height);
  gap: 20px;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  font-family: var(--font-heading);
  font-size: 1.45rem;
  font-weight: 800;
  color: var(--keewo-text);
}

.logo-img {
  height: 34px;
  width: auto;
}

.logo span {
  color: var(--keewo-primary-700);
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 28px;
}

.site-nav ul {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  list-style: none;
  padding: 0;
  margin: 0;
}

.site-nav a {
  font-size: 0.875rem;
  font-weight: 600;
  white-space: nowrap;
  color: var(--keewo-neutral-700);
}

.site-nav a[aria-current='page'],
.site-nav a:hover {
  color: var(--keewo-text);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 14px;
}

.nav-toggle {
  display: none;
  width: 48px;
  height: 48px;
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: 14px;
  background: #fff;
  color: var(--keewo-text);
}

.nav-toggle-line {
  display: block;
  width: 18px;
  height: 2px;
  margin: 0 auto 4px;
  border-radius: 999px;
  background: currentColor;
}

.nav-toggle-line:last-child {
  margin-bottom: 0;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 46px;
  padding: 0 18px;
  white-space: nowrap;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 700;
  transition:
    transform 0.18s ease,
    background-color 0.18s ease,
    border-color 0.18s ease,
    color 0.18s ease;
}

.btn:hover {
  transform: translateY(-1px);
}

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

.btn-primary:hover {
  color: #fff;
  background: #1e293b;
}

.btn-secondary {
  border-color: rgba(15, 23, 42, 0.12);
  background: rgba(255, 255, 255, 0.82);
  color: var(--keewo-text);
}

.btn-secondary:hover {
  background: #fff;
}

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

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(320px, 0.8fr);
  gap: 32px;
  align-items: stretch;
}

.hero-copy h1 {
  max-width: 12ch;
  margin-bottom: 18px;
  font-size: clamp(2.9rem, 6vw, 4.9rem);
}

.hero-copy p {
  max-width: 700px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 28px;
}

.hero-points,
.inline-list,
.link-list,
.card-list,
.feature-list {
  display: grid;
  gap: 12px;
  list-style: none;
  padding: 0;
}

.hero-points {
  margin-top: 28px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.hero-points li,
.card-list li,
.feature-list li {
  position: relative;
  padding-left: 24px;
}

.hero-points li::before,
.card-list li::before,
.feature-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 10px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--keewo-primary-700);
}

.hero-panel,
.card,
.stat-card,
.compare-panel,
.faq-item,
.article-card,
.content-panel,
.proof-card,
.page-sidebar,
.cta-panel,
.definition-strip,
.diagram-panel {
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: var(--keewo-radius-md);
  background: rgba(255, 255, 255, 0.9);
  box-shadow: var(--keewo-shadow);
}

.hero-panel,
.compare-panel,
.proof-card,
.cta-panel,
.content-panel,
.page-sidebar,
.diagram-panel {
  padding: 28px;
}

.hero-panel h2,
.page-hero h1 {
  font-size: clamp(2.2rem, 4vw, 3.6rem);
}

.hero-panel h2 {
  font-size: 1.6rem;
}

.flow-rail {
  display: grid;
  gap: 12px;
  margin-top: 22px;
}

.flow-chip {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 16px;
  border-radius: 16px;
  background: rgba(226, 232, 240, 0.55);
}

.flow-chip strong {
  color: var(--keewo-text);
}

.definition-strip {
  display: grid;
  gap: 16px;
  padding: 28px;
}

.definition-strip p {
  margin: 0;
}

.definition-list {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  padding: 0;
  list-style: none;
}

.definition-list li,
.tag {
  display: inline-flex;
  align-items: center;
  padding: 9px 12px;
  border-radius: 999px;
  background: rgba(31, 189, 161, 0.12);
  color: var(--keewo-text);
  font-size: 0.95rem;
  font-weight: 600;
}

.grid {
  display: grid;
  gap: 24px;
}

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

.grid-3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.grid-4 {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.card {
  padding: 28px;
}

.card h3,
.compare-panel h3,
.proof-card h3,
.cta-panel h3,
.article-card h3 {
  font-size: 1.35rem;
}

.card p:last-child,
.proof-card p:last-child,
.content-panel p:last-child {
  margin-bottom: 0;
}

.icon-row {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 54px;
  height: 54px;
  margin-bottom: 18px;
  border-radius: 16px;
  background: rgba(226, 232, 240, 0.72);
}

.icon-img {
  width: 24px;
  height: 24px;
  filter: invert(19%) sepia(17%) saturate(806%) hue-rotate(174deg)
    brightness(97%) contrast(92%);
}

.icon-img-danger {
  filter: invert(36%) sepia(71%) saturate(3000%) hue-rotate(332deg)
    brightness(100%) contrast(95%);
}

.icon-img-accent {
  filter: invert(56%) sepia(93%) saturate(354%) hue-rotate(118deg)
    brightness(92%) contrast(88%);
}

.timeline {
  display: grid;
  gap: 18px;
}

.timeline-step {
  display: grid;
  grid-template-columns: 56px minmax(0, 1fr);
  gap: 18px;
  align-items: start;
  padding: 20px 22px;
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: var(--keewo-radius-md);
  background: rgba(255, 255, 255, 0.88);
}

.timeline-index {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  border-radius: 18px;
  background: var(--keewo-text);
  color: #fff;
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 800;
}

.timeline-step h3 {
  margin-bottom: 8px;
}

.timeline-step p {
  margin: 0;
}

.compare-grid,
.audience-grid,
.proof-grid,
.resource-grid {
  display: grid;
  gap: 24px;
}

.compare-grid,
.audience-grid,
.proof-grid,
.resource-grid,
.blog-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.compare-pair {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}

.compare-panel .tag-list,
.card .tag-list,
.page-sidebar .tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  padding: 0;
  margin: 18px 0 0;
  list-style: none;
}

.callout {
  padding: 18px 20px;
  border-left: 4px solid var(--keewo-info-700);
  border-radius: 14px;
  background: rgba(96, 165, 250, 0.1);
  color: var(--keewo-text);
}

.callout-warning {
  border-left-color: var(--keewo-warning-700);
  background: rgba(251, 191, 36, 0.12);
}

.callout-danger {
  border-left-color: var(--keewo-danger-700);
  background: rgba(248, 113, 113, 0.12);
}

.proof-card strong,
.stat-card strong {
  display: block;
  margin-bottom: 8px;
  color: var(--keewo-text);
  font-size: 1rem;
}

.faq-list {
  display: grid;
  gap: 18px;
}

.faq-item {
  padding: 24px;
}

.faq-item h3 {
  font-size: 1.2rem;
}

.faq-item p:last-child {
  margin-bottom: 0;
}

.page-hero {
  padding-top: calc(var(--header-height) + 42px);
  padding-bottom: 52px;
}

.page-hero .lead {
  max-width: 860px;
}

.breadcrumbs {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 18px;
  color: var(--keewo-muted);
  font-size: 0.94rem;
}

.breadcrumbs a {
  color: var(--keewo-muted);
}

.page-shell {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(280px, 0.8fr);
  gap: 28px;
}

.page-main {
  display: grid;
  gap: 22px;
}

.page-main > section:not([class]),
.page-sidebar > section:not([class]) {
  padding: 0;
}

.page-sidebar {
  align-self: start;
}

.kicker-list,
.resource-list {
  list-style: none;
  padding: 0;
  display: grid;
  gap: 12px;
}

.kicker-list li,
.resource-list li {
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(15, 23, 42, 0.08);
}

.kicker-list li:last-child,
.resource-list li:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.article-card time {
  display: block;
  margin-bottom: 12px;
  font-size: 0.9rem;
  color: var(--keewo-muted);
}

.article-card {
  padding: 24px;
}

.article-content {
  display: grid;
  gap: 18px;
}

.article-content h2 {
  margin-top: 14px;
  font-size: 1.7rem;
}

.article-content h3 {
  font-size: 1.2rem;
}

.article-content ul,
.article-content ol {
  display: grid;
  gap: 10px;
}

.cta-band {
  padding-bottom: 96px;
}

.cta-panel {
  display: grid;
  gap: 18px;
  text-align: center;
  background:
    linear-gradient(135deg, rgba(31, 189, 161, 0.14), rgba(96, 165, 250, 0.12)),
    #fff;
}

.cta-panel p {
  max-width: 740px;
  margin: 0 auto;
}

.footer {
  padding: 56px 0 32px;
  background: #09111f;
  color: #d7dfeb;
}

.footer a {
  color: #d7dfeb;
}

.footer .logo {
  color: #ffffff;
}

.footer .logo span {
  color: var(--keewo-primary);
}

.footer .logo-img {
  filter: brightness(0) invert(1);
}

.footer a:hover {
  color: #ffffff;
}

.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) repeat(3, minmax(0, 1fr));
  gap: 28px;
  margin-bottom: 34px;
}

.footer-col h3,
.footer-col h4 {
  color: #ffffff;
}

.footer-col ul {
  list-style: none;
  padding: 0;
  display: grid;
  gap: 10px;
}

.footer-note {
  color: #9db0c6;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  padding-top: 22px;
  border-top: 1px solid rgba(157, 176, 198, 0.2);
  color: #9db0c6;
  font-size: 0.94rem;
}

.footer-bottom-links {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
}

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

@media (max-width: 1080px) {
  .header-shell {
    min-height: 74px;
  }

  .nav-toggle {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    margin-left: auto;
  }

  .site-nav {
    position: fixed;
    inset: 74px 20px auto;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 18px;
    padding: 20px;
    border: 1px solid rgba(15, 23, 42, 0.08);
    border-radius: 22px;
    background: rgba(255, 255, 255, 0.96);
    box-shadow: var(--keewo-shadow);
  }

  body[data-nav-open='true'] .site-nav {
    display: flex;
  }

  .site-nav ul {
    flex-direction: column;
    gap: 12px;
  }

  .nav-actions .btn {
    display: none;
  }

  .hero,
  .page-shell,
  .compare-pair,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .grid-4,
  .grid-3,
  .compare-grid,
  .audience-grid,
  .proof-grid,
  .resource-grid,
  .blog-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .hero-copy h1 {
    max-width: 14ch;
  }
}

@media (max-width: 820px) {
  :root {
    --section-padding: 72px 0;
  }

  .hero-points,
  .grid-4,
  .grid-3,
  .grid-2,
  .compare-grid,
  .audience-grid,
  .proof-grid,
  .resource-grid,
  .blog-grid {
    grid-template-columns: 1fr;
  }

  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 640px) {
  body {
    background:
      radial-gradient(circle at top left, rgba(128, 255, 219, 0.18), transparent 34%),
      linear-gradient(180deg, #eef6f7 0%, #f8fafc 30%, #ffffff 100%);
  }

  .container {
    width: min(100% - 28px, var(--container-max-width));
  }

  .hero-copy h1,
  .page-hero h1 {
    font-size: clamp(2.4rem, 10vw, 3.4rem);
  }

  .hero-actions,
  .footer-bottom-links {
    flex-direction: column;
    align-items: stretch;
  }

  .btn {
    width: 100%;
  }

  .timeline-step {
    grid-template-columns: 1fr;
  }

  .timeline-index {
    width: 48px;
    height: 48px;
  }
}
