/* The Start page (docs/site-redesign.md, mockup approved by the owner 2026-10-21): scoped to main.ke-start so the theme
   stylesheet the page still loads (Bootstrap 4 + keywordeverywhere.css, needed by the YouTube lightbox) does not reach
   the new layout. Same tokens and type as ke-home.css: Bricolage Grotesque headings, IBM Plex Sans text (loaded by
   ke-header.css), red #b5332c on warm neutrals; buttons never take the link hover colour. */
.ke-start { --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-start *, .ke-start *::before, .ke-start *::after { box-sizing: border-box; }
.ke-start h1, .ke-start h2, .ke-start h3, .ke-start 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-start p { margin: 0; }
.ke-start a { color: #1f4f8f; text-decoration: none; }
.ke-start a:hover { color: #133565; }
.ke-start strong, .ke-start b { font-weight: 600 !important; color: inherit; }
.ke-start .wrap { max-width: 1180px; margin: 0 auto; padding: 0 24px; }
.ke-start .sec { padding: 72px 0; }
.ke-start .sec.alt { background: var(--ground); }
.ke-start .sec h2 { font-size: 34px; margin-bottom: 12px; }
.ke-start .sub { font-size: 17px; color: var(--muted); max-width: 64ch; }
.ke-start .head { max-width: 760px; margin-bottom: 40px; }
.ke-start .head.c { margin-left: auto; margin-right: auto; text-align: center; }
.ke-start .kicker { font-family: var(--fh); font-weight: 700; font-size: 13px; letter-spacing: .08em; color: var(--red); margin-bottom: 10px; text-transform: uppercase; }
/* after installing (?mode=install) */
.ke-start .welcome { background: #fff; border-bottom: 1px solid var(--line); padding: 40px 0 48px; }
.ke-start .welcome .top { display: flex; align-items: center; gap: 14px; margin-bottom: 24px; }
.ke-start .welcome .top .ic { width: 44px; height: 44px; border-radius: 12px; background: var(--red-soft); color: var(--red); display: flex; align-items: center; justify-content: center; flex: 0 0 auto; }
.ke-start .welcome .top h2 { font-size: 26px; margin: 0; }
.ke-start .wcard { background: var(--ground); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 28px 32px; display: grid; grid-template-columns: minmax(0, 1fr) 428px; gap: 40px; align-items: center; }
.ke-start .wcard h3 { font-size: 19px; margin-bottom: 14px; }
.ke-start .wcard p { font-size: 15.5px; margin-bottom: 10px; }
.ke-start .mini { display: inline-flex; align-items: center; justify-content: center; height: 26px; min-width: 26px; padding: 0 3px; border-radius: 6px; background: #fff; border: 1px solid var(--line); vertical-align: -7px; margin: 0 2px; }
.ke-start .mini img { height: 18px; width: auto; display: block; }
.ke-start .wcard .act { display: flex; gap: 10px; align-items: center; margin-top: 18px; flex-wrap: wrap; }
.ke-start .wcard video { display: block; width: 100%; height: auto; }
/* hero */
.ke-start .hero { padding: 64px 0; background: var(--ground); }
.ke-start .hero .wrap { display: grid; grid-template-columns: minmax(0, 1fr) 560px; gap: 56px; align-items: center; }
.ke-start .hero h1 { font-size: 46px; line-height: 1.08; }
.ke-start .hero .lead { font-size: 18.5px; margin: 18px 0 0; max-width: 52ch; text-wrap: balance; color: var(--text); }
.ke-start .stores { display: flex; gap: 10px; margin-top: 28px; flex-wrap: wrap; }
.ke-start .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-start .store:hover { color: var(--ink); border-color: var(--ink); }
.ke-start .store img { width: 26px; height: 26px; }
.ke-start .store.main { background: var(--red); color: #fff; border-color: var(--red); }
.ke-start .store.main:hover { color: #fff; background: var(--red-dark); border-color: var(--red-dark); }
.ke-start .store.main img { background: #fff; border-radius: 50%; padding: 2px; }
.ke-start .store.sm { height: 42px; font-size: 14.5px; padding: 0 14px 0 10px; }
.ke-start .store.sm img { width: 22px; height: 22px; }
.ke-start .ke-pick { flex-direction: column; align-items: flex-start; gap: 12px; }   /* one detected button, the other two browsers as links (as on the home page) */
.ke-start .ke-pick .store.main { height: 58px; padding: 0 26px 0 16px; font-size: 17px; }
.ke-start .ke-pick .also { margin: 0; font-size: 14px; color: var(--muted); }
.ke-start .ke-pick .also a { color: var(--ink); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.ke-start .ke-pick .also a:hover { color: var(--red); }
.ke-start .trust { display: flex; gap: 10px; align-items: center; margin-top: 20px; font-size: 14px; color: var(--muted); }
.ke-start .stars { color: #e8912d; letter-spacing: 1px; font-size: 15px; }
.ke-start .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-start .frame .bar { display: flex; align-items: center; gap: 8px; height: 36px; padding: 0 12px; border-bottom: 1px solid var(--line-soft); background: #fcfbfa; }
.ke-start .frame .bar i { width: 10px; height: 10px; border-radius: 50%; background: var(--line); display: block; }
.ke-start .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-start .frame img { display: block; width: 100%; height: auto; }
.ke-start .frame.flat { box-shadow: 0 1px 2px rgba(28,26,25,.06); }
/* YouTube lightbox openers (the theme's magnific popup handles .modal-popup) */
.ke-start .play { position: relative; display: block; color: inherit; }
.ke-start .play img { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; }
.ke-start .play .btn-play { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); width: 64px; height: 64px; border-radius: 50%; background: var(--red); color: #fff; display: flex; align-items: center; justify-content: center; box-shadow: 0 8px 24px rgba(28,26,25,.25); }
.ke-start .play:hover .btn-play { background: var(--red-dark); }
/* features: paid / free tabs */
.ke-start .tabs { display: flex; gap: 4px; border-bottom: 1px solid var(--line); margin-bottom: 36px; flex-wrap: wrap; }
.ke-start .tab { font: inherit; font-weight: 600; font-size: 15.5px; 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; min-height: 44px; }
.ke-start .tab .cnt { font-size: 12.5px; font-weight: 600; color: var(--text); background: var(--ground); border: 1px solid var(--line); border-radius: 999px; padding: 1px 9px; line-height: 1.5; }
.ke-start .tab.on { color: var(--ink); border-bottom-color: var(--ink); }
.ke-start .tab.on .cnt { background: #fff; }
.ke-start .cards { display: none; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.ke-start .cards.on { display: grid; }
.ke-start .card { background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); padding: 24px; display: flex; flex-direction: column; gap: 10px; }
.ke-start .card .ch { display: flex; align-items: center; gap: 12px; }
.ke-start .card .ic { flex: 0 0 42px; width: 42px; height: 42px; border-radius: 10px; background: var(--red-soft); color: var(--red); display: flex; align-items: center; justify-content: center; }
.ke-start .card .ic img { width: 24px; height: 24px; }
.ke-start .card h4 { font-size: 17.5px; line-height: 1.25; }
.ke-start .card p { font-size: 14.5px; color: var(--muted); flex: 1; }
.ke-start .card .tag { align-self: flex-start; font-size: 12px; font-weight: 600; color: var(--muted); border: 1px solid var(--line); border-radius: 999px; padding: 2px 9px; line-height: 1.5; }
.ke-start .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; font-family: inherit; }
.ke-start .btn:hover { background: var(--red-dark); color: #fff; }
.ke-start .btn.ghost { background: #fff; color: var(--ink); border: 1.5px solid var(--line); }
.ke-start .btn.ghost:hover { background: var(--ground); color: var(--ink); border-color: var(--ink); }
.ke-start .center { display: flex; justify-content: center; }
.ke-start .video { max-width: 860px; margin: 0 auto; }
/* getting started */
.ke-start .two { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.ke-start .path { background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); padding: 26px 28px; display: flex; flex-direction: column; gap: 10px; }
.ke-start .path h3 { font-size: 20px; }
.ke-start .path p { font-size: 15.5px; color: var(--muted); }
.ke-start .path .stores { margin-top: 8px; }
.ke-start .setup { display: grid; grid-template-columns: 300px minmax(0, 1fr); gap: 40px; align-items: start; margin-top: 28px; }
.ke-start .steps { display: flex; flex-direction: column; gap: 4px; }
.ke-start .stepb { font: inherit; font-size: 15px; font-weight: 500; color: var(--text); background: transparent; border: 0; text-align: left; padding: 12px 14px; border-radius: 10px; display: flex; align-items: center; gap: 14px; cursor: pointer; min-height: 44px; }
.ke-start .stepb .n { flex: 0 0 30px; width: 30px; height: 30px; border-radius: 50%; border: 1.5px solid var(--line); display: flex; align-items: center; justify-content: center; font-family: var(--fh); font-weight: 700; font-size: 14px; color: var(--ink); background: #fff; }
.ke-start .stepb:hover { color: var(--ink); background: #fff; }
.ke-start .stepb.on { background: #fff; color: var(--ink); box-shadow: 0 1px 2px rgba(28,26,25,.1); font-weight: 600; }
.ke-start .stepb.on .n { background: var(--ink); color: #fff; border-color: var(--ink); }
.ke-start .stepp { display: none; }
.ke-start .stepp.on { display: block; }
.ke-start .stepp h3 { font-size: 24px; margin-bottom: 10px; }
.ke-start .stepp p { font-size: 15.5px; color: var(--text); margin-bottom: 20px; max-width: 66ch; }
.ke-start .stepp p a { text-decoration: underline; text-underline-offset: 3px; }
.ke-start .stepp .frame img { background: #fff; }
.ke-start .stepp .small { font-size: 13.5px; color: var(--muted); }
/* things to do, videos */
.ke-start .next { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.ke-start .next .card { align-items: flex-start; }
.ke-start .vids { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.ke-start .vid { background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; }
.ke-start .vid .cb { padding: 18px 22px 20px; }
.ke-start .vid h4 { font-size: 18px; margin-bottom: 4px; }
.ke-start .vid p { font-size: 14.5px; color: var(--muted); }
/* FAQ (every answer open, as on the home page) */
.ke-start .faq { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 48px; }
.ke-start .faq .item { border-bottom: 1px solid var(--line); }
.ke-start .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-start .faq .a { padding: 0 0 18px; font-size: 15px; max-width: 60ch; }
.ke-start .help { background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); padding: 40px; text-align: center; display: flex; flex-direction: column; align-items: center; gap: 14px; }
.ke-start .help h2 { font-size: 28px; margin: 0; }
.ke-start .help p { font-size: 16.5px; color: var(--muted); max-width: 60ch; }
.ke-start .help p a { text-decoration: underline; text-underline-offset: 3px; }
@media (max-width: 1000px) {
    .ke-start .hero .wrap { grid-template-columns: 1fr; }
    .ke-start .hero h1 { font-size: 38px; }
    .ke-start .wcard { grid-template-columns: 1fr; }
    .ke-start .cards.on, .ke-start .next { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .ke-start .setup { grid-template-columns: 1fr; }
    .ke-start .steps { flex-direction: row; flex-wrap: wrap; }
    .ke-start .faq { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
    .ke-start .wrap { padding: 0 16px; }
    .ke-start .sec { padding: 52px 0; }
    .ke-start .sec h2 { font-size: 28px; }
    .ke-start .hero { padding: 40px 0; }
    .ke-start .hero h1 { font-size: 32px; }
    .ke-start .hero .lead { font-size: 17px; }
    .ke-start .store { width: 100%; justify-content: center; }
    .ke-start .ke-pick { align-items: stretch; }
    .ke-start .path .store { width: auto; flex: 1 1 auto; }
    .ke-start .cards.on, .ke-start .next, .ke-start .two, .ke-start .vids { grid-template-columns: 1fr; }
    .ke-start .steps { flex-direction: column; }
    .ke-start .welcome .top h2 { font-size: 22px; }
    .ke-start .wcard { padding: 22px 18px; }
    .ke-start .help { padding: 28px 20px; }
    .ke-start .help h2 { font-size: 22px; }
    .ke-start .tab { padding: 10px 12px; font-size: 14.5px; }
    .ke-start .stepp h3 { font-size: 21px; }
}
