/* Should I Buy? product pages · royan.se/shouldibuy/ and /sv/shouldibuy/ (with support/)
   Loaded after style.css. Layouts: the phone stage with the ballot card, the store badges,
   the screenshot splits, the app's labels, the "not a chat app" band and the long-form
   text of support/. The site chrome (header, footer, progress bar, focus) keeps the
   Royan orange; the app's own accents inside <main> use the app's brand below. */

/* ── The app's brand: Marigold (app repo, ADR-0019) ─────────────────
   --sib-fill only as a fill behind --sib-ink (11.1:1) or as a large decorative area;
   never as text or a thin mark on light, never white text on it. Text and marks:
   --sib-accent on light (5.9:1 on white, 5.4:1 on mist), --sib-accent-on-dark on the
   night bands (10:1 and more). */
:root {
    --sib-fill: #FFBE1A;
    --sib-fill-hover: #F2B000;
    --sib-ink: #17130A;
    --sib-accent: #8A5A00;
    --sib-accent-on-dark: #FFC233;
    --sib-soft: rgba(255, 190, 26, 0.16);
}
main .kicker, main .split .kicker { color: var(--sib-accent); }
main .on-dark .kicker, main .on-dark .split .kicker { color: var(--sib-accent-on-dark); }
main .link-arrow { color: var(--sib-accent); }
main .on-dark .link-arrow { color: var(--sib-accent-on-dark); }
main .btn--primary { background: var(--sib-fill); color: var(--sib-ink); }
main .btn--primary:hover { background: var(--sib-fill-hover); }
main .split li::before { background: var(--sib-accent); }
main .process-line::after { background: var(--sib-accent); }
main .process li.is-lit::before { border-color: var(--sib-accent); background: var(--sib-fill); }

/* ── Hero: the name, then the answer on its own line ────────────── */
.product-title .answer { display: block; }
.product-id img { background: var(--mist); }
.availability {
    margin-top: 22px; padding: 10px 14px; border-left: 3px solid var(--sib-accent);
    border-radius: 0 var(--r-sm) var(--r-sm) 0; background: var(--sib-soft);
    color: var(--sib-ink); font-weight: 600;
}

/* One phone on a marigold stage; a ballot card sits over its lower corner. */
.product-stage.sib-stage {
    display: grid; place-items: center; overflow: visible;
    padding: clamp(32px, 5vw, 56px) clamp(20px, 4vw, 48px);
    background: var(--sib-fill);
}
/* Screens have no device frame: these radii are the phone's and the iPad's own corners. */
.product-stage.sib-stage img { width: min(100%, 300px); border-radius: 12.5% / 5.75%; }
.ballot {
    position: absolute; left: clamp(16px, 3vw, 36px); bottom: clamp(28px, 5vw, 64px);
    width: 196px; padding: 16px 18px 10px; border-radius: var(--r);
    background: var(--paper); border: 1px solid var(--line); box-shadow: var(--shadow-lift);
    font-size: 0.92rem;
}
.ballot p { font-weight: 650; letter-spacing: -0.01em; margin-bottom: 6px; }
.ballot li { display: flex; align-items: center; gap: 10px; padding: 8px 0; color: var(--muted); }
.ballot li + li { border-top: 1px solid var(--line); }
.ballot li::before {
    content: ""; flex: none; width: 14px; height: 14px; border-radius: 50%;
    border: 2px solid var(--line); background: var(--paper);
}
.ballot li.is-on { color: var(--text); font-weight: 600; }
.ballot li.is-on::before { border-color: var(--sib-ink); background: var(--sib-fill); }
@media (max-width: 560px) { .ballot { display: none; } }

/* ── Store badges ───────────────────────────────────────────────────
   Self-made, in the stores' own look: black, white type, a grey hairline, the store's
   mark and words ("Download on the" App Store, "Get it on" Google Play; SV "Hämta i",
   "Ladda ned på"). Not Apple's or Google's badge artwork. The text is the link name. */
.store-badge {
    display: inline-flex; align-items: center; gap: 12px; min-height: 56px; min-width: 196px;
    padding: 8px 22px 8px 16px; border: 1px solid var(--night-muted); border-radius: var(--r-sm);
    background: var(--night); color: var(--paper); text-decoration: none; line-height: 1.15;
    transition: background-color 0.2s var(--ease);
}
.store-badge svg { width: 26px; height: 26px; flex: none; fill: currentColor; }
.store-badge span { display: grid; font-size: 1.2rem; font-weight: 600; letter-spacing: -0.01em; }
.store-badge small { font-size: 0.75rem; font-weight: 500; letter-spacing: 0; }
.store-badge:hover { background: var(--night-3); }
.on-dark .store-badge:focus-visible { outline-color: var(--paper); }
@media (max-width: 480px) {
    .product-actions .store-badge { flex: 1 1 100%; justify-content: center; }
    .product-actions .btn { flex: 1 1 100%; justify-content: center; }
}

/* ── Feature splits: one phone per split, the app's own labels ───── */
.sib-features .split figure { padding: clamp(28px, 4vw, 52px) clamp(20px, 3vw, 40px); }
.sib-features .split figure img {
    width: min(100%, 300px); margin-inline: auto;
    border-radius: 12.5% / 5.75%; box-shadow: var(--shadow-lift);
}

/* AI help: no screen of its own, so three short cards between the splits. */
.split + .sib-ai, .sib-ai + .split { margin-top: clamp(72px, 10vw, 128px); }
.sib-ai > div:first-child { max-width: 640px; margin-bottom: clamp(28px, 4vw, 40px); }
.sib-ai h2 { font-size: clamp(1.8rem, 3.4vw, 2.7rem); letter-spacing: -0.035em; }
.sib-ai > div:first-child p:not(.kicker) { margin-top: 16px; color: var(--muted); font-size: 1.06rem; }
.sib-ai .feature { background: var(--mist); border-color: transparent; }
.split .labels-title { margin-top: 24px; font-size: 0.9rem; font-weight: 600; color: var(--subtle); }
.split .labels { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
.split .labels li {
    display: block; padding: 6px 12px; border: 1px solid var(--line); border-radius: var(--r-sm);
    background: var(--paper); font-size: 0.92rem; font-weight: 600; color: var(--text);
}
.split .labels li::before { content: none; }
.split .labels--soft li { font-weight: 500; color: var(--muted); }

/* ── Devices: the facts beside the text, two iPad screens below ──── */
.sib-tablets {
    display: grid; grid-template-columns: 1fr 1fr; gap: clamp(12px, 3vw, 40px); align-items: start;
    max-width: 960px; margin: clamp(48px, 7vw, 88px) auto 0;
}
.sib-tablets img {
    width: 100%; border-radius: 2.7% / 2%; border: 1px solid var(--line);
    box-shadow: var(--shadow); background: var(--paper);
}
.sib-tablets figcaption { margin-top: 10px; font-size: 0.88rem; color: var(--subtle); text-align: center; }
.facts--wide dd { text-align: left; }

/* ── Privacy: links under the six promises ───────────────────────── */
.legal-links { display: flex; flex-wrap: wrap; gap: 14px 28px; margin-top: 44px; }

/* ── Not a chat app: what the app has, and what it leaves out ────── */
.on-dark .split p { color: var(--night-muted); }
.nochat { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.nochat > div { padding: 24px 26px; border-radius: var(--r); background: var(--night-2); border: 1px solid var(--night-line); }
.nochat h3 { font-size: 0.95rem; font-weight: 600; letter-spacing: 0; color: var(--night-muted); margin-bottom: 8px; }
.nochat li { display: flex; align-items: center; gap: 14px; padding: 11px 0; font-size: 1.05rem; }
.nochat li + li { border-top: 1px solid var(--night-line); }
.nochat li::before { content: ""; flex: none; }
.nochat .yes li::before {
    width: 6px; height: 12px; margin: -4px 4px 0 3px; transform: rotate(45deg);
    border: solid var(--sib-accent-on-dark); border-width: 0 2px 2px 0;
    border-radius: 0; background: none;
}
.nochat .no li { color: var(--night-muted); text-decoration: line-through; text-decoration-thickness: 1px; }
.nochat .no li::before { width: 13px; height: 2px; margin: 0; border-radius: 0; background: var(--night-muted); }
@media (max-width: 640px) { .nochat { grid-template-columns: 1fr; } }

/* ── Long-form text (support) ────────────────────────────────────── */
.prose { max-width: 72ch; }
.prose > :first-child { margin-top: 0; }
.prose h2 { font-size: clamp(1.3rem, 2.2vw, 1.65rem); margin: 2.2em 0 0.6em; }
.prose p, .prose li { color: var(--muted); }
.prose p + p, .prose p + ul, .prose ul + p { margin-top: 1em; }
/* style.css removes list markers site-wide; prose lists need them back. */
.prose ul { list-style: disc; padding-left: 1.4em; }
.prose li + li { margin-top: 0.45em; }
.prose li::marker { color: var(--subtle); }
.prose a { color: var(--sib-accent); }
.prose strong { color: var(--text); font-weight: 600; }
.note {
    margin: 0 0 2.4em; padding: 20px 24px; border-left: 3px solid var(--sib-accent);
    background: var(--sib-soft); border-radius: 0 var(--r-sm) var(--r-sm) 0;
}
.prose .note p { color: var(--text); }
.page-hero .product-actions { margin-top: 28px; }
