/* StoreLink other pages (support.html, businessideas.html). Shared parts (menu, footer, tabs, buttons, colours) live in storelink.css. */

/* ===== Page hero ===== */
.sl-page-hero { padding: 118px 0 44px; text-align: center; background: linear-gradient(180deg, #fff3ea 0%, #ffffff 100%); }
.sl-page-hero h1 { font-size: 38px; font-weight: 500; letter-spacing: -.5px; color: #1f2d3d; margin: 8px 0 10px; }
.sl-page-hero .sl-eyebrow { margin-bottom: 4px; }
.sl-page-sub { color: #DA0000; font-weight: 500; font-size: 16px; margin: 0 0 12px; }
.sl-page-lead { max-width: 860px; margin: 0 auto 24px; color: #5f6b7a; font-size: 15.5px; line-height: 1.75; }
.sl-page-badges { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 14px; }
.sl-page-badges .store-badge img { width: 170px; max-width: 100%; height: auto; }
.sl-page-badges .store-badge[hidden] { display: none; }
@media (max-width: 575px) { .sl-page-hero { padding: 100px 0 30px; } .sl-page-hero h1 { font-size: 28px; } }

/* ===== Support: steps ===== */
.sl-support { background: #fff; }
.sl-step { display: grid; grid-template-columns: 1fr; gap: 18px; align-items: center; background: #fff; border: 1px solid #e6edf5; border-radius: 18px; padding: 24px; margin-bottom: 18px; box-shadow: 0 6px 20px rgba(31,45,61,.05); }
.sl-step h3 { font-size: 19px; font-weight: 500; color: #1f2d3d; margin: 0 0 10px; line-height: 1.35; }
.sl-step-points { list-style: none; margin: 0; padding: 0; }
.sl-step-points li { position: relative; padding: 0 0 8px 26px; color: #4a5767; font-size: 15px; line-height: 1.55; }
.sl-step-points li::before { content: ""; position: absolute; left: 0; top: 5px; width: 14px; height: 14px; border-radius: 50%; background: #DA0000 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath fill='none' stroke='%23fff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round' d='M4.2 8.3l2.4 2.4 5-5.2'/%3E%3C/svg%3E") center / 10px no-repeat; }
.sl-step-img { text-align: center; }
.sl-step-img img { max-width: 100%; max-height: 380px; width: auto; height: auto; border-radius: 16px; box-shadow: 0 10px 28px rgba(31,45,61,.14); }
@media (min-width: 768px) { .sl-step { grid-template-columns: 1fr 240px; gap: 34px; padding: 26px 34px; } }

/* ===== Business ideas: cards ===== */
.sl-ideas-wrap { background: #f4f6f9 url("../images/portfoliopattern.webp") repeat; padding: 36px 0 70px; }
.sl-idea-tools { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 22px; }
.sl-idea-tools[hidden] { display: none; }
.sl-idea-search { flex: 1 1 280px; max-width: 460px; border: 1px solid #dbe3ec; border-radius: 999px; background: #fff; padding: 10px 20px; font-size: 14.5px; color: #1f2d3d; box-shadow: 0 4px 14px rgba(31,45,61,.05); outline: none; transition: border-color .2s, box-shadow .2s; }
.sl-idea-search:focus { border-color: #DA0000; box-shadow: 0 0 0 3px rgba(218,0,0,.12); }
.sl-idea-count { color: #5f6b7a; font-size: 13.5px; }
.sl-idea-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 22px; }
.sl-idea { display: flex; flex-direction: column; background: #fff; border-radius: 16px; overflow: hidden; border-top: 4px solid #DA0000; box-shadow: 0 6px 20px rgba(31,45,61,.09); transition: transform .25s, box-shadow .25s; }
.sl-idea[hidden] { display: none; }
.sl-idea:hover { transform: translateY(-4px); box-shadow: 0 14px 32px rgba(31,45,61,.16); }
.sl-idea-img { aspect-ratio: 4 / 5; background: #eef1f6; overflow: hidden; }
.sl-idea-img img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: top center; }
.sl-idea-body { display: flex; flex-direction: column; flex: 1 1 auto; padding: 16px 16px 18px; text-align: center; }
.sl-idea-body h3 { font-size: 17px; font-weight: 500; color: #1f2d3d; margin: 0 0 6px; }
.sl-idea-body p { flex: 1 1 auto; color: #5f6b7a; font-size: 13px; line-height: 1.5; margin: 0 0 14px; }
.sl-idea-body .sl-demo-btn { align-self: center; padding: 8px 24px; font-size: 13.5px; }
.sl-idea-none { text-align: center; color: #5f6b7a; padding: 40px 0; }
.sl-idea-none[hidden] { display: none; }

/* ===== Pitch decks: same cards as the ideas page, slide previews shown whole ===== */
.sl-idea-grid.sl-deck-grid { grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); }
.sl-deck-grid .sl-idea-img { aspect-ratio: 4 / 3; background: #fff; }
.sl-deck-grid .sl-idea-img img { object-fit: contain; object-position: center; padding: 10px; }

/* ===== Phones: compact cards, 3 in a row, the whole card is the tap target ===== */
.sl-idea-hint { display: none; text-align: center; color: #5f6b7a; font-size: 13px; margin: 0 0 14px; }
@media (max-width: 575px) {
    .sl-ideas-wrap { padding: 20px 0 50px; }
    .sl-idea-hint { display: block; }
    .sl-idea-hint:empty { display: none; }
    .sl-idea-grid, .sl-idea-grid.sl-deck-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
    .sl-idea { position: relative; border-top-width: 3px; border-radius: 10px; box-shadow: 0 3px 10px rgba(31,45,61,.1); transition: transform .15s; }
    .sl-idea:hover { transform: none; box-shadow: 0 3px 10px rgba(31,45,61,.1); }
    .sl-idea:active { transform: scale(.96); }
    .sl-idea-img { aspect-ratio: 3 / 4; }
    .sl-deck-grid .sl-idea-img { aspect-ratio: 3 / 4; }
    .sl-deck-grid .sl-idea-img img { padding: 4px; }
    .sl-idea-body { padding: 6px 5px 8px; }
    .sl-idea-body h3 { font-size: 11px; line-height: 1.25; margin: 0; min-height: 2.5em; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
    .sl-idea-body p { display: none; }
    .sl-idea-body .sl-demo-btn { display: block; position: static; height: 0; margin: 0; padding: 0; border: 0; background: none; box-shadow: none; font-size: 0; line-height: 0; overflow: visible; }
    .sl-idea-body .sl-demo-btn::after { content: ""; position: absolute; inset: 0; z-index: 1; }
    .sl-idea-tools { margin-bottom: 14px; }
    .sl-idea-search { flex-basis: 100%; max-width: none; }
}

/* ===== Slim hero + legal text (Terms, Privacy) ===== */
.sl-page-hero--slim { padding-bottom: 28px; }
.sl-page-hero--slim .sl-page-sub { color: #5f6b7a; font-weight: 400; font-size: 14px; margin: 0; }
.sl-legal-text, .sl-content { background: #fff; padding: 10px 0 70px; }
.sl-legal-text .container { max-width: 860px; }
.sl-legal-text h2 { font-size: 19px; font-weight: 500; color: #1f2d3d; margin: 30px 0 8px; letter-spacing: 0; }
.sl-legal-text p, .sl-legal-text li { color: #4a5767; font-size: 15px; line-height: 1.75; }
.sl-legal-text p { margin: 0 0 12px; }
.sl-legal-text ul { margin: 0 0 14px 20px; padding: 0; }
.sl-legal-text a { color: #DA0000; }
@media (max-width: 575px) { .sl-legal-text h2 { font-size: 17px; } .sl-legal-text p, .sl-legal-text li { font-size: 14.5px; } }

/* ===== About page ===== */
.sl-aboutpage { background: #fff; padding: 6px 0 70px; }
.sl-aboutpage .container { max-width: 860px; }
.sl-ab { padding: 26px 0 24px; border-bottom: 1px solid #eef1f6; }
.sl-ab h2 { font-size: 23px; font-weight: 500; color: #1f2d3d; margin: 0 0 10px; letter-spacing: 0; }
.sl-ab p { color: #4a5767; font-size: 15.5px; line-height: 1.75; margin: 0 0 10px; }
.sl-ab .sl-step-points { margin-top: 6px; }
.sl-ab-links { padding: 26px 0 0; border-bottom: 0; }
.sl-ab-list { list-style: none; margin: 0; padding: 0; }
.sl-ab-list li { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 12px; padding: 9px 0; border-bottom: 1px dashed #e6edf5; }
.sl-ab-list a { color: #DA0000; font-weight: 500; }
.sl-ab-list span { color: #8a95a3; font-size: 13px; word-break: break-all; }
@media (max-width: 575px) { .sl-ab h2 { font-size: 20px; } .sl-ab p { font-size: 15px; } }

/* ===== Generic content page (template.html): readable text styles plus sample blocks ===== */
.sl-content .container { max-width: 960px; }
.sl-content h2 { font-size: 22px; font-weight: 500; color: #1f2d3d; margin: 34px 0 10px; letter-spacing: 0; }
.sl-content p, .sl-content li { color: #4a5767; font-size: 15.5px; line-height: 1.8; }
.sl-content p { margin: 0 0 14px; }
.sl-content ul { margin: 0 0 16px 20px; padding: 0; }
.sl-content a:not(.sl-btn) { color: #DA0000; }
.sl-content .sl-row-img { text-align: center; }
.sl-content .sl-row-img img { max-width: 100%; border-radius: 16px; box-shadow: 0 10px 28px rgba(31,45,61,.14); }
.sl-box { height: 100%; background: #fff; border: 1px solid #e6edf5; border-radius: 16px; padding: 22px 20px; box-shadow: 0 6px 20px rgba(31,45,61,.06); margin-bottom: 18px; }
.sl-box h3 { font-size: 17px; font-weight: 500; color: #1f2d3d; margin: 0 0 8px; }
.sl-box p { font-size: 14.5px; line-height: 1.65; margin: 0; }
.sl-callout { background: #fff3ea; border-radius: 16px; padding: 24px; text-align: center; margin-top: 28px; }
.sl-callout p { margin-bottom: 14px; }
@media (max-width: 575px) { .sl-content h2 { font-size: 19px; } .sl-content p, .sl-content li { font-size: 14.5px; } }
