/* A running campaign on the marketing pages (#1059): the strip on every page,
   the block in the home page's hero, the badge and the struck-out regular price.
   The marketing layout loads this file only while Campaign.current names a
   campaign, so the pages are unchanged outside one. It uses the tokens every
   page stylesheet defines (--bg, --gold, --text, --text-dim, --border). */

.campaign-strip {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 6px 16px;
    padding: 10px 20px;
    background: var(--gold);
    color: var(--bg);
    font-size: 14px;
    line-height: 1.4;
    text-align: center;
}

.campaign-strip-text { margin: 0; }

.campaign-strip-short { display: none; }

.campaign-strip-cta {
    display: inline-flex;
    align-items: center;
    padding: 6px 14px;
    border-radius: 999px;
    background: var(--bg);
    color: var(--gold);
    font-weight: 600;
    font-size: 13px;
    white-space: nowrap;
    text-decoration: none;
}

.campaign-strip-cta:hover { text-decoration: underline; }

.campaign-strip-cta:focus-visible { outline: 2px solid var(--bg); outline-offset: 2px; }

.campaign-hero {
    max-width: 560px;
    margin: 0 auto 40px;
    padding: 20px 22px;
    border: 1px solid var(--gold);
    border-radius: 14px;
    background: rgba(203,162,74,0.08);
}

.campaign-hero-eyebrow {
    margin: 0 0 6px;
    color: var(--gold);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.campaign-hero-title {
    margin: 0 0 6px;
    color: var(--text);
    font-family: 'Inter Display', Inter, sans-serif;
    font-size: 24px;
    font-weight: 700;
    line-height: 1.25;
}

.campaign-hero-body { margin: 0 0 14px; color: var(--text-dim); font-size: 15px; }

.campaign-hero-cta {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 18px;
    border-radius: 10px;
    background: var(--gold);
    color: var(--bg);
    font-weight: 600;
    font-size: 14px;
    text-decoration: none;
}

.campaign-hero-cta:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; }

.campaign-price-note {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 4px 10px;
    margin: 0 0 6px;
}

.campaign-badge {
    display: inline-block;
    padding: 3px 10px;
    border-radius: 999px;
    background: var(--gold);
    color: var(--bg);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.02em;
}

.campaign-was {
    color: var(--text-dim);
    font-size: 17px;
    font-weight: 600;
    text-decoration-thickness: 2px;
}

/* The bundle card (#1056): Digital Assets + a Markets tier. The tier selector
   is radio buttons and these sibling selectors alone, no script: the inputs
   come before the tier labels and the panels, in the same order, and the
   checked one (by position) shows its panel and marks its label. The inputs
   stay focusable (arrow keys move between them) but are drawn by their
   labels. Five positions: the five Markets tiers. */
.bundle-card {
    max-width: 720px;
    margin: 40px auto 0;
    padding: 24px;
    border: 1px solid var(--gold);
    border-radius: 16px;
    background: rgba(203,162,74,0.06);
}

.bundle-eyebrow {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px 10px;
    margin: 0 0 8px;
    color: var(--gold);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.bundle-title {
    margin: 0 0 6px;
    color: var(--text);
    font-family: 'Inter Display', Inter, sans-serif;
    font-size: 24px;
    font-weight: 700;
    line-height: 1.25;
}

.bundle-body { margin: 0 0 16px; color: var(--text-dim); font-size: 15px; }

.bundle-select { margin: 0; padding: 0; border: 0; min-width: 0; }

.bundle-legend { margin: 0 0 8px; padding: 0; color: var(--text); font-size: 14px; font-weight: 600; }

.bundle-input {
    position: absolute;
    width: 1px;
    height: 1px;
    margin: -1px;
    overflow: hidden;
    clip-path: inset(50%);
    white-space: nowrap;
    opacity: 0;
}

.bundle-tiers { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 18px; }

.bundle-tier {
    padding: 8px 14px;
    border: 1px solid var(--border);
    border-radius: 999px;
    color: var(--text-dim);
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
}

.bundle-tier:hover { border-color: var(--gold); color: var(--text); }

.bundle-input:nth-of-type(1):checked ~ .bundle-tiers .bundle-tier:nth-child(1),
.bundle-input:nth-of-type(2):checked ~ .bundle-tiers .bundle-tier:nth-child(2),
.bundle-input:nth-of-type(3):checked ~ .bundle-tiers .bundle-tier:nth-child(3),
.bundle-input:nth-of-type(4):checked ~ .bundle-tiers .bundle-tier:nth-child(4),
.bundle-input:nth-of-type(5):checked ~ .bundle-tiers .bundle-tier:nth-child(5)  {
    border-color: var(--gold);
    background: var(--gold);
    color: var(--bg);
}

.bundle-input:nth-of-type(1):focus-visible ~ .bundle-tiers .bundle-tier:nth-child(1),
.bundle-input:nth-of-type(2):focus-visible ~ .bundle-tiers .bundle-tier:nth-child(2),
.bundle-input:nth-of-type(3):focus-visible ~ .bundle-tiers .bundle-tier:nth-child(3),
.bundle-input:nth-of-type(4):focus-visible ~ .bundle-tiers .bundle-tier:nth-child(4),
.bundle-input:nth-of-type(5):focus-visible ~ .bundle-tiers .bundle-tier:nth-child(5)  {
    outline: 2px solid var(--gold);
    outline-offset: 2px;
}

.bundle-panel { display: none; }

.bundle-input:nth-of-type(1):checked ~ .bundle-panels .bundle-panel:nth-child(1),
.bundle-input:nth-of-type(2):checked ~ .bundle-panels .bundle-panel:nth-child(2),
.bundle-input:nth-of-type(3):checked ~ .bundle-panels .bundle-panel:nth-child(3),
.bundle-input:nth-of-type(4):checked ~ .bundle-panels .bundle-panel:nth-child(4),
.bundle-input:nth-of-type(5):checked ~ .bundle-panels .bundle-panel:nth-child(5)  {
    display: block;
}

.bundle-price-row { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 8px; margin: 0 0 8px; }

.bundle-price { color: var(--text); font-family: 'Inter Display', Inter, sans-serif; font-size: 36px; font-weight: 700; line-height: 1.1; }

.bundle-price-plus, .bundle-price-period { color: var(--text-dim); font-size: 15px; }

.bundle-saving { margin: 0 0 4px; color: var(--gold); font-size: 15px; font-weight: 600; }

.bundle-then { margin: 0 0 16px; color: var(--text-dim); font-size: 14px; }

.bundle-cta {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 22px;
    border-radius: 10px;
    background: var(--gold);
    color: var(--bg);
    font-weight: 600;
    font-size: 15px;
    text-decoration: none;
}

.bundle-cta:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; }

@media (max-width: 640px) {
    .campaign-strip { flex-wrap: nowrap; padding: 8px 16px; font-size: 13px; text-align: left; }

    .campaign-strip-long { display: none; }

    .campaign-strip-short { display: inline; }

    .campaign-hero { margin-bottom: 28px; padding: 16px; }

    .campaign-hero-title { font-size: 20px; }

    .bundle-card { margin-top: 28px; padding: 16px; }

    .bundle-title { font-size: 20px; }

    .bundle-price { font-size: 30px; }

    .bundle-cta { justify-content: center; width: 100%; }
}
