/* The home page (docs/site-redesign.md, mockup approved 2026-10-19): scoped to main.ke-home so the theme stylesheet the
   page still loads (keywordeverywhere.css, Bootstrap 4) does not reach the new layout, and the new rules do not reach the
   theme's parts that stay (the swiper carousels, the Chrome frame of the video stage). Type: Bricolage Grotesque for
   headings, IBM Plex Sans for text (loaded by ke-header.css). Red #b5332c on warm neutrals; buttons never take the link
   hover colour. */
.ke-home { --red: #b5332c; --red-dark: #8c2420; --red-soft: #fbedeb; --ink: #1c1a19; --text: #3d3936; --muted: #6f6a66; --line: #e6e1dc; --line-soft: #f0ece8; --ground: #f7f5f2; --r: 10px; --r-lg: 14px;
    --fh: "Bricolage Grotesque", "IBM Plex Sans", "Segoe UI", sans-serif; --fb: "IBM Plex Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    font-family: var(--fb); color: var(--text); background: #fff; font-size: 16px; line-height: 1.55; font-weight: 400; -webkit-font-smoothing: antialiased; overflow: visible; }
.ke-home *, .ke-home *::before, .ke-home *::after { box-sizing: border-box; }
.ke-home h2, .ke-home h3, .ke-home h4 { font-family: var(--fh); color: var(--ink); margin: 0; letter-spacing: -0.012em; text-wrap: balance; line-height: 1.15; font-weight: 700; }
.ke-home p { margin: 0; }
.ke-home a { color: #1f4f8f; text-decoration: none; }
.ke-home a:hover { color: #133565; }
.ke-home strong, .ke-home b { font-weight: 600 !important; color: inherit; }
.ke-home .wrap { max-width: 1180px; margin: 0 auto; padding: 0 24px; }
.ke-home .sec { padding: 72px 0; }
.ke-home .sec.alt { background: var(--ground); }
.ke-home .sec h2 { font-size: 34px; margin-bottom: 12px; }
.ke-home .sub { font-size: 17px; color: var(--muted); max-width: 64ch; }
.ke-home .head { max-width: 760px; margin-bottom: 40px; }
.ke-home .head.c { margin-left: auto; margin-right: auto; text-align: center; }
.ke-home .head.wide { max-width: none; }
/* hero */
.ke-home .hero { padding: 64px 0 56px; background: var(--ground); }
.ke-home .hero .wrap { display: flex; flex-direction: column; align-items: center; text-align: center; }
.ke-home .hero h2 { font-size: 48px; line-height: 1.08; max-width: none; }
.ke-home .hero .lead { font-size: 18.5px; margin: 18px auto 0; max-width: 66ch; text-wrap: balance; color: var(--text); }
.ke-home .stores { display: flex; gap: 10px; margin-top: 28px; flex-wrap: wrap; justify-content: center; }
.ke-home .store { text-transform: none; letter-spacing: 0; line-height: 1; display: inline-flex; align-items: center; gap: 10px; height: 52px; padding: 0 18px 0 12px; border-radius: var(--r); font-weight: 600; font-size: 15.5px; background: #fff; color: var(--ink); border: 1.5px solid var(--line); }
.ke-home .store:hover { color: var(--ink); border-color: var(--ink); }
.ke-home .store img { width: 26px; height: 26px; }
.ke-home .store.main { background: var(--red); color: #fff; border-color: var(--red); }
.ke-home .store.main:hover { color: #fff; background: var(--red-dark); border-color: var(--red-dark); }
.ke-home .store.main img { background: #fff; border-radius: 50%; padding: 2px; }
.ke-home .ke-pick { flex-direction: column; align-items: center; gap: 12px; }   /* one detected button, the other two browsers as links (2026-10-20) */
.ke-home .ke-pick .store.main { height: 58px; padding: 0 26px 0 16px; font-size: 17px; }
.ke-home .ke-pick .also { margin: 0; font-size: 14px; color: var(--muted); }
.ke-home .ke-pick .also a { color: var(--ink); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.ke-home .ke-pick .also a:hover { color: var(--red); }
.ke-home .trust { display: flex; gap: 10px; align-items: center; justify-content: center; margin-top: 20px; font-size: 14px; color: var(--muted); }
.ke-home .stars { color: #e8912d; letter-spacing: 1px; font-size: 15px; }
/* logos */
.ke-home .logos { padding: 30px 0 34px; border-bottom: 1px solid var(--line-soft); }
.ke-home .logos p { text-align: center; font-size: 14px; color: var(--muted); margin-bottom: 22px; }
.ke-home .logos .swiper-container { min-height: 48px; }
.ke-home .logos .swiper-slide { display: flex; justify-content: center; align-items: center; }
.ke-home .logos img { height: 34px; width: auto; max-width: 130px; }
/* steps */
.ke-home .steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 48px; }
.ke-home .step .n { font-family: var(--fh); font-weight: 700; font-size: 13px; letter-spacing: .08em; color: var(--red); margin-bottom: 10px; }
.ke-home .step h4 { font-size: 19px; margin-bottom: 8px; }
.ke-home .step p { font-size: 15px; color: var(--muted); }
.ke-home .more { display: inline-flex; align-items: center; gap: 6px; color: var(--ink); font-weight: 600; font-size: 15px; margin-top: 28px; }
.ke-home .more:hover { color: var(--red); }
/* what's inside */
.ke-home .tabs { display: flex; gap: 4px; border-bottom: 1px solid var(--line); margin-bottom: 36px; flex-wrap: wrap; }
.ke-home .tab { font: inherit; font-weight: 600; font-size: 15px; color: var(--muted); background: transparent; border: 0; padding: 12px 16px; cursor: pointer; display: flex; align-items: center; gap: 10px; border-bottom: 2px solid transparent; margin-bottom: -1px; }
.ke-home .tab img { width: 22px; height: 22px; }
.ke-home .tab.on { color: var(--ink); border-bottom-color: var(--ink); }
.ke-home .panel { display: none; grid-template-columns: minmax(0, 1fr) 560px; gap: 48px; align-items: center; }
.ke-home .panel.on { display: grid; }
.ke-home .panel h3 { font-size: 28px; margin-bottom: 18px; }
.ke-home .checks { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.ke-home .checks li { display: flex; gap: 10px; font-size: 16px; color: var(--text); }
.ke-home .checks svg { flex: 0 0 auto; margin-top: 4px; color: var(--red); }
.ke-home .frame { background: #fff; border: 1px solid var(--line); border-radius: 14px; box-shadow: 0 1px 2px rgba(28,26,25,.05), 0 24px 48px rgba(28,26,25,.10); overflow: hidden; }
.ke-home .frame .bar { display: flex; align-items: center; gap: 8px; height: 36px; padding: 0 12px; border-bottom: 1px solid var(--line-soft); background: #fcfbfa; }
.ke-home .frame .bar i { width: 10px; height: 10px; border-radius: 50%; background: var(--line); display: block; }
.ke-home .frame .url { flex: 1; height: 22px; border-radius: 6px; background: var(--ground); font-size: 11.5px; color: var(--muted); display: flex; align-items: center; padding: 0 10px; font-family: "IBM Plex Mono", Menlo, monospace; overflow: hidden; white-space: nowrap; }
.ke-home .frame img { display: block; width: 100%; height: auto; }
/* AI cards */
.ke-home .cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.ke-home .card { display: block; background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); padding: 26px; color: var(--text); }
.ke-home .card:hover { border-color: var(--ink); color: var(--text); }
.ke-home .card .ch { display: flex; align-items: center; gap: 12px; margin-bottom: 10px; }
.ke-home .card .ic { flex: 0 0 40px; width: 40px; height: 40px; border-radius: 10px; background: var(--red-soft); color: var(--red); display: flex; align-items: center; justify-content: center; }
.ke-home .card h4 { font-size: 19px; }
.ke-home .card p { font-size: 15px; color: var(--muted); margin-bottom: 14px; }
.ke-home .card .go { font-weight: 600; color: var(--ink); font-size: 14.5px; }
.ke-home .card:hover .go { color: var(--red); }
/* the video stage (the theme's Chrome frame and swiper stay; home.js drives them) */
.ke-home .stage { display: grid; grid-template-columns: minmax(0, 1fr) 220px; gap: 28px; align-items: start; }
.ke-home .sites { display: flex; flex-direction: column; gap: 2px; }
.ke-home .sites .nav-item { font: inherit; font-size: 14.5px; font-weight: 500; color: var(--text); background: transparent; border: 0; text-align: left; padding: 9px 12px; border-radius: 8px; display: flex; align-items: center; gap: 10px; cursor: pointer; }
.ke-home .sites .nav-item img { width: 18px; height: 18px; margin: 0; }
.ke-home .sites .nav-item:hover { color: var(--ink); background: #fff; }
.ke-home .sites .nav-item.active { background: #fff; color: var(--ink); box-shadow: 0 1px 2px rgba(28,26,25,.1); font-weight: 600; }
.ke-home .stage .browser-frame { border-radius: 14px; overflow: hidden; box-shadow: 0 1px 2px rgba(28,26,25,.05), 0 24px 48px rgba(28,26,25,.10); border: 1px solid var(--line); }
.ke-home .stage .browser-frame .page { padding: 0 !important; }
.ke-home .stage video { display: block; width: 100%; height: auto; }
/* integrations */
.ke-home .tiles { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 12px; }
.ke-home .tile { display: flex; flex-direction: column; align-items: center; gap: 10px; padding: 18px 10px 14px; background: #fff; border: 1px solid var(--line); border-radius: var(--r); color: var(--text); font-size: 13.5px; font-weight: 500; text-align: center; }
.ke-home .tile img { width: 30px; height: 30px; object-fit: contain; }
.ke-home .tile:hover { border-color: var(--ink); color: var(--ink); }
/* testimonials */
.ke-home .quotes { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.ke-home .quote { background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); padding: 26px; display: flex; flex-direction: column; gap: 18px; }
.ke-home .quote .t { flex: 1; }
.ke-home .quote .t p { font-size: 16px; color: var(--ink); line-height: 1.5; margin-bottom: 8px; }
.ke-home .quote .t p:last-child { margin-bottom: 0; }
.ke-home .who { display: flex; align-items: center; gap: 12px; font-size: 14px; }
.ke-home .who img { width: 60px; height: 60px; border-radius: 50%; object-fit: cover; }
.ke-home .who b { display: block; color: var(--ink); }
.ke-home .who span { color: var(--muted); }
/* free tools */
.ke-home .chips { display: flex; gap: 8px; flex-wrap: wrap; justify-content: center; margin: 0 0 26px; }
.ke-home .chip { font-size: 14px; border: 1px solid var(--line); background: #fff; color: var(--ink); border-radius: 999px; padding: 8px 14px; font-weight: 500; }
.ke-home .chip:hover { border-color: var(--ink); color: var(--ink); }
.ke-home .btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 48px; padding: 0 22px; border-radius: var(--r); font-weight: 600; font-size: 15.5px; line-height: 1; text-transform: none; letter-spacing: 0; background: var(--red); color: #fff; border: 0; cursor: pointer; box-shadow: none; }
.ke-home .btn:hover { background: var(--red-dark); color: #fff; }
.ke-home .btn.ghost { background: #fff; color: var(--ink); border: 1.5px solid var(--line); }
.ke-home .btn.ghost:hover { background: var(--ground); color: var(--ink); }
/* free features */
.ke-home .feats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px 32px; list-style: none; margin: 0; padding: 0; }
.ke-home .feats li { display: flex; gap: 10px; font-size: 15.5px; }
.ke-home .feats svg { flex: 0 0 auto; margin-top: 4px; color: var(--red); }
.ke-home .feats small { font-size: 13px; color: var(--muted); }
.ke-home .pay { margin: 32px auto 24px; text-align: center; max-width: none; }
.ke-home .ctas { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; }
/* FAQ */
.ke-home .faq { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 48px; }
.ke-home .faq .item { border-bottom: 1px solid var(--line); }   /* every answer open, nothing to collapse (owner, 2026-10-20) */
.ke-home .faq .q { margin: 0; padding: 16px 0 8px; font-family: var(--fh); font-weight: 600; font-size: 17px; line-height: 1.35; color: var(--ink); }
.ke-home .faq .a { padding: 0 0 18px; font-size: 15px; max-width: 60ch; }
/* closing band */
.ke-home .final { background: var(--ink); color: #fff; padding: 64px 0; }
.ke-home .final .wrap { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 22px; }
.ke-home .final h2 { color: #fff; font-size: 34px; }
.ke-home .final p { color: #cfc9c3; font-size: 16px; }
.ke-home .final p a { color: #fff; text-decoration: underline; }
.ke-home .final .stores { margin: 0; }
.ke-home .final .store { border-color: transparent; }
.ke-home .final .ke-pick .also { color: rgba(246,236,232,.75); }
.ke-home .final .ke-pick .also a { color: #fff; }
@media (max-width: 1000px) {
    .ke-home .hero h2 { font-size: 40px; }
    .ke-home .panel, .ke-home .panel.on { grid-template-columns: 1fr; }
    .ke-home .stage { grid-template-columns: 1fr; }
    .ke-home .sites { flex-direction: row; flex-wrap: wrap; }
    .ke-home .tiles { grid-template-columns: repeat(4, minmax(0, 1fr)); }
    .ke-home .steps, .ke-home .cards, .ke-home .quotes { grid-template-columns: 1fr; gap: 24px; }
    .ke-home .feats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .ke-home .faq { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
    .ke-home .wrap { padding: 0 16px; }
    .ke-home .sec { padding: 52px 0; }
    .ke-home .sec h2 { font-size: 28px; }
    .ke-home .hero { padding: 40px 0; }
    .ke-home .hero h2 { font-size: 32px; }
    .ke-home .hero .lead { font-size: 17px; }
    .ke-home .store { width: 100%; justify-content: center; }
    .ke-home .tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .ke-home .feats { grid-template-columns: 1fr; }
    .ke-home .panel h3 { font-size: 24px; }
    .ke-home .final h2 { font-size: 28px; }
    .ke-home .tab { padding: 10px 12px; font-size: 14px; }
}
