/* I Spy Deal 1.0.0: bright, playful deal spotting. One stylesheet, no JavaScript, self-hosted fonts
   (Baloo 2, Figtree, Caveat; SIL OFL). Sizes in rem so the layout holds at 200% zoom.
   Bright orange #ff6a13 is decorative only; text and buttons use deeper orange for WCAG contrast. */

@font-face { font-family: "Baloo 2"; font-style: normal; font-weight: 400 800; font-display: swap; src: url("fonts/baloo-2-latin-wght-normal.woff2") format("woff2"); }
@font-face { font-family: "Figtree"; font-style: normal; font-weight: 300 900; font-display: swap; src: url("fonts/figtree-latin-wght-normal.woff2") format("woff2"); }
@font-face { font-family: "Figtree"; font-style: italic; font-weight: 300 900; font-display: swap; src: url("fonts/figtree-latin-wght-italic.woff2") format("woff2"); }
@font-face { font-family: "Caveat"; font-style: normal; font-weight: 700; font-display: swap; src: url("fonts/caveat-latin-700-normal.woff2") format("woff2"); }

:root {
    --spy-white: #ffffff;
    --spy-sky: #eaf7fd;
    --spy-sky-2: #d4effa;
    --spy-navy: #14306e;
    --spy-navy-dark: #0f2557;
    --spy-orange: #ff6a13;        /* decoration */
    --spy-orange-strong: #d94a00; /* buttons, orange text (4.1:1 on white, used large/bold) */
    --spy-orange-hover: #bf4100;
    --spy-cyan: #12b5cb;
    --spy-yellow: #ffc83d;
    --spy-ink: #1d2a44;
    --spy-muted: #56637a;
    --spy-line: #dbe7f1;
    --spy-error: #b42318;
    /* Names the shared rules below use, mapped to this palette. */
    --spy-paper: var(--spy-white);
    --spy-cream: var(--spy-sky);
    --spy-body-2: #3a4763;
    --spy-navy-2: var(--spy-navy-dark);
    --spy-navy-line: #2b4a8c;
    --spy-gold: var(--spy-orange-strong);
    --spy-gold-hover: var(--spy-orange-hover);
    --spy-gold-text: var(--spy-orange-strong);
    --spy-green: var(--spy-navy);
    --spy-green-2: var(--spy-navy-line);
    --spy-serif: "Baloo 2", "Arial Rounded MT Bold", system-ui, sans-serif;
    --spy-sans: "Figtree", system-ui, sans-serif;
    --spy-hand: "Caveat", "Comic Sans MS", cursive;
    --spy-gutter: clamp(1.1rem, 4.5vw, 4rem);
}

/* Base */
html { font-size: 112.5%; } /* 18px */
body.spy { margin: 0; background: var(--spy-white); color: var(--spy-ink); font: 400 1rem/1.6 var(--spy-sans); -webkit-font-smoothing: antialiased; }
.spy *, .spy *::before, .spy *::after { box-sizing: border-box; }
.spy img { max-width: 100%; height: auto; display: block; }
.spy h1, .spy h2, .spy h3 { font-family: var(--spy-serif); font-weight: 800; color: var(--spy-navy); text-wrap: balance; line-height: 1.1; }
:where(.spy) :where(h1, h2, h3, p) { margin: 0; }
.spy a { color: var(--spy-navy); text-decoration-color: var(--spy-orange); text-decoration-thickness: 2px; text-underline-offset: 3px; }
.spy a:hover { color: var(--spy-orange-strong); }
.spy :focus-visible { outline: 3px solid var(--spy-cyan); outline-offset: 2px; border-radius: 4px; }
.spy-wrap { width: 100%; max-width: calc(1200px + 2 * var(--spy-gutter)); margin: 0 auto; padding-left: var(--spy-gutter); padding-right: var(--spy-gutter); }
.spy-visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.spy-skip { position: absolute; left: -999px; top: .5rem; z-index: 20; background: var(--spy-navy); color: #fff !important; padding: .6rem 1rem; border-radius: 999px; font-weight: 700; }
.spy-skip:focus { left: .5rem; }
.spy-icon { width: 1.1rem; height: 1.1rem; flex: none; }
@media (prefers-reduced-motion: reduce) { .spy * { transition: none !important; } }

/* Shared bits */
.spy-kicker { font: 700 .72rem/1.4 var(--spy-sans); letter-spacing: .08em; text-transform: uppercase; color: var(--spy-gold-text); margin-bottom: .5rem; }
.spy-kicker a { color: var(--spy-gold-text); text-decoration: none; }
.spy-kicker a:hover { text-decoration: underline; }
.spy-label { font: 700 .72rem/1.4 var(--spy-sans) !important; letter-spacing: .08em; text-transform: uppercase; color: var(--spy-muted) !important; margin-bottom: .75rem !important; }
.spy-summary { color: var(--spy-body-2); font-size: .9rem; line-height: 1.55; margin-top: .4rem; }
.spy-meta { font-size: .8rem; color: var(--spy-muted); }
.spy-crumbs { font-size: .8rem; color: var(--spy-muted); margin-bottom: 1rem; }
.spy-crumbs a { color: var(--spy-muted); }
.spy-badge { display: inline-block; vertical-align: middle; font: 700 .67rem/1.3 var(--spy-sans); letter-spacing: .08em; text-transform: uppercase; padding: .1rem .45rem; border-radius: 4px; }
.spy-badge--ad { color: var(--spy-navy); border: 1.5px solid var(--spy-navy); }
.spy-badge--sample { color: var(--spy-muted); background: var(--spy-paper); border: 1px solid var(--spy-line); font-family: var(--spy-sans); }
.spy-callout { background: var(--spy-cream); border: 1px solid var(--spy-line); border-radius: 8px; padding: .8rem .9rem; font-size: .85rem; line-height: 1.55; margin-top: 1.25rem; }
.spy-callout--warn { border-color: var(--spy-error); }
.spy-more { font-weight: 700; font-size: .9rem; display: inline-block; margin-top: .9rem; }

/* Buttons and chips */
.spy-btn { display: inline-flex; align-items: center; justify-content: center; gap: .45rem; min-height: 2.65rem; padding: .55rem 1.25rem; border-radius: 999px; border: 0; font: 800 1.04rem/1 var(--spy-sans); text-decoration: none; cursor: pointer; transition: background-color .15s, transform .15s; }
.spy-btn--orange { background: var(--spy-orange-strong); color: #fff !important; box-shadow: 0 3px 0 rgba(15, 37, 87, .15); }
.spy-btn--orange:hover { background: var(--spy-orange-hover); }
.spy-btn--gold { background: var(--spy-orange-strong); color: #fff !important; }
.spy-btn--gold:hover { background: var(--spy-orange-hover); }
.spy-btn--navy { background: var(--spy-navy); color: #fff !important; }
.spy-btn--big { min-height: 3rem; padding: .7rem 1.6rem; font-size: 1.1rem; }
.spy-chip { display: inline-flex; align-items: center; min-height: 2.45rem; padding: .35rem 1rem; border: 2px solid var(--spy-line); border-radius: 999px; background: var(--spy-white); font: 700 .86rem/1 var(--spy-sans); color: var(--spy-navy); text-decoration: none; transition: border-color .15s; }
.spy-chip:hover { border-color: var(--spy-cyan); color: var(--spy-navy); }
.spy-chips { margin-top: clamp(2.5rem, 5vw, 3.5rem); }
.spy-chips ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: .6rem; }

/* Header */
.spy-header { background: var(--spy-white); border-bottom: 1px solid var(--spy-line); position: relative; }
.spy-header__bar { display: flex; flex-wrap: wrap; align-items: center; gap: .2rem 1.6rem; padding-top: .7rem; }
.spy-logo { display: inline-flex; align-items: center; gap: .55rem; text-decoration: none; }
.spy-mark { width: 2.7rem; height: 2.7rem; flex: none; }
.spy-logo__text { display: flex; flex-direction: column; }
.spy-logo__name { font: 800 1.6rem/1 var(--spy-serif); letter-spacing: -.01em; }
.spy-wm-a { color: var(--spy-navy); }
.spy-wm-b { color: var(--spy-orange-strong); }
.spy-logo__tagline { font: 700 .62rem/1.3 var(--spy-sans); letter-spacing: .14em; text-transform: uppercase; color: var(--spy-muted); margin-top: .2rem; white-space: nowrap; }
/* Menu on its own row under the logo and button, so long topic names never crowd the header. */
.spy-nav { order: 3; flex-basis: 100%; border-top: 1px solid var(--spy-line); margin-top: .55rem; }
.spy-nav ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; column-gap: 2rem; }
.spy-nav a { display: block; padding: .8rem 0 .65rem; font: 700 .9rem/1 var(--spy-sans); color: var(--spy-navy); text-decoration: none; border-bottom: 3px solid transparent; }
.spy-nav a:hover { color: var(--spy-orange-strong); }
.spy-nav a[aria-current="page"] { border-bottom-color: var(--spy-orange); }
.spy-header__cta { font-size: .95rem; min-height: 2.5rem; margin-left: auto; white-space: nowrap; }
.spy-menu { display: none; margin-left: auto; }
@media (max-width: 56.25rem) { .spy-header__bar { padding-bottom: .7rem; flex-wrap: nowrap; } }
@media (max-width: 30rem) { .spy-logo__tagline { white-space: normal; max-width: 11rem; } .spy-logo__name { font-size: 1.4rem; } }
.spy-menu summary { list-style: none; display: inline-flex; align-items: center; gap: .45rem; min-height: 2.45rem; padding: .4rem 1rem; border: 2px solid var(--spy-navy); border-radius: 999px; font: 800 .9rem/1 var(--spy-sans); color: var(--spy-navy); cursor: pointer; }
.spy-menu summary::-webkit-details-marker { display: none; }
.spy-menu nav { position: absolute; left: 0; right: 0; top: 100%; z-index: 10; background: var(--spy-white); border-top: 1px solid var(--spy-line); border-bottom: 1px solid var(--spy-line); }
.spy-menu ul { list-style: none; margin: 0; padding: 0 var(--spy-gutter); }
.spy-menu li + li { border-top: 1px solid var(--spy-line); }
.spy-menu li a { display: flex; align-items: center; min-height: 2.75rem; font-weight: 800; text-decoration: none; }
.spy-menu li a[aria-current="page"] { color: var(--spy-orange-strong); }
.spy-menu__cta a { color: var(--spy-orange-strong) !important; }

/* Footer */
.spy-footer { background: var(--spy-navy-dark); color: #dbe6f7; margin-top: clamp(3rem, 6vw, 5rem); }
.spy-footer a { color: #dbe6f7; text-decoration: none; }
.spy-footer a:hover { color: #fff; text-decoration: underline; text-decoration-color: var(--spy-orange); }
.spy-footer__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 12rem), 1fr)); gap: 1.8rem 2.7rem; padding-top: clamp(2.5rem, 5vw, 3.5rem); padding-bottom: 2.25rem; }
.spy-footer__about { grid-column: 1 / -1; }
.spy-logo--footer .spy-mark { background: #fff; border-radius: 50%; padding: .2rem; }
.spy-logo--footer .spy-wm-a { color: #fff; }
.spy-logo--footer .spy-wm-b { color: var(--spy-orange); }
.spy-footer__about p { font-size: .92rem; max-width: 32em; margin-top: .7rem; }
.spy-footer h2 { font: 800 .74rem/1.4 var(--spy-sans); letter-spacing: .1em; text-transform: uppercase; color: var(--spy-yellow); margin-bottom: .6rem; }
.spy-footer ul { list-style: none; margin: 0; padding: 0; }
.spy-footer li { margin: .45rem 0; font-size: .92rem; }
.spy-footer__legal { border-top: 1px solid var(--spy-navy-line); }
.spy-footer__legal-row { display: flex; flex-wrap: wrap; justify-content: space-between; gap: .6rem 2rem; padding-top: 1.1rem; padding-bottom: 1.4rem; font-size: .8rem; color: #b9c8e3; }
.spy-footer__legal-row p:first-child { max-width: 46em; }

/* Home: hero */
.spy-hero { background: linear-gradient(160deg, var(--spy-sky) 0%, #f7fcff 60%, var(--spy-white) 100%); overflow: hidden; }
.spy-hero__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 24rem), 1fr)); gap: clamp(1.75rem, 4vw, 3.5rem); align-items: center; padding-top: clamp(2rem, 5vw, 4rem); padding-bottom: clamp(2.5rem, 5vw, 4.5rem); }
.spy-hero h1 { font-size: clamp(2.3rem, 1.4rem + 3.4vw, 4.1rem); line-height: .98; letter-spacing: -.015em; }
.spy-hero__line { display: block; color: var(--spy-navy); }
.spy-hero__highlight { display: block; color: var(--spy-orange-strong); position: relative; width: fit-content; }
.spy-hero__highlight::after { content: ""; position: absolute; left: 0; right: 0; bottom: -.08em; height: .14em; border-radius: 999px; background: var(--spy-orange); opacity: .55; }
.spy-hero__dek { font-size: clamp(1.02rem, .95rem + .35vw, 1.16rem); color: var(--spy-body-2); max-width: 32em; margin: 1.3rem 0 1.7rem !important; }
.spy-hero__art { position: relative; }
.spy-hero__photo, .spy-hero__scene { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; border-radius: 28px; box-shadow: 0 18px 40px -18px rgba(15, 37, 87, .45); }
.spy-hero__badge { position: absolute; right: -.4rem; top: -1rem; width: 7.4rem; height: 7.4rem; display: grid; place-items: center; text-align: center; border-radius: 50%; background: var(--spy-yellow); color: var(--spy-navy-dark); font: 800 .95rem/1.05 var(--spy-serif); padding: .9rem; transform: rotate(-8deg); box-shadow: 0 0 0 .45rem rgba(255, 200, 61, .35); }
.spy-hero__note { position: absolute; left: -.3rem; bottom: -1.6rem; max-width: 15rem; background: var(--spy-white); color: var(--spy-navy); font: 700 1.35rem/1.05 var(--spy-hand); padding: .5rem .9rem; border-radius: 14px; transform: rotate(-3deg); box-shadow: 0 6px 18px -8px rgba(15, 37, 87, .35); }

/* Home: topic cards */
.spy-topics { margin-top: clamp(2.2rem, 5vw, 3.2rem); }
.spy-topic-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 12rem), 1fr)); gap: .8rem; }
.spy-topic-card { position: relative; display: flex; flex-direction: column; align-items: flex-start; gap: .7rem; height: 100%; padding: 1.1rem 1.1rem 1.2rem; border-radius: 18px; text-decoration: none; transition: transform .15s; }
.spy-topic-card:hover { transform: translateY(-2px); }
.spy-topic-card--0 { background: #e6f4fd; } .spy-topic-card--1 { background: #fff0e6; } .spy-topic-card--2 { background: #e4f7f2; } .spy-topic-card--3 { background: #fff6d9; }
.spy-topic-card__icon { display: grid; place-items: center; width: 3rem; height: 3rem; border-radius: 14px; background: var(--spy-white); color: var(--spy-navy); flex: none; box-shadow: 0 2px 0 rgba(15, 37, 87, .08); }
.spy-topic__svg { width: 1.5rem; height: 1.5rem; }
.spy-topic-card__text { flex: 1; min-width: 0; }
.spy-topic-card__name { display: block; font: 800 1.15rem/1.15 var(--spy-serif); color: var(--spy-navy); }
.spy-topic-card__desc { display: block; font-size: .8rem; line-height: 1.35; color: var(--spy-muted); margin-top: .15rem; }
.spy-topic-card__go { position: absolute; top: 1.1rem; right: 1rem; display: grid; place-items: center; width: 1.7rem; height: 1.7rem; border-radius: 50%; background: var(--spy-white); color: var(--spy-navy); font-weight: 800; }
.spy-topic-card__text { width: 100%; }

/* Home: sections */
.spy-section { margin-top: clamp(2.8rem, 6vw, 4.4rem); }
.spy-section__head { display: flex; flex-wrap: wrap; align-items: center; gap: .7rem 1rem; }
.spy-section__title { font-size: clamp(1.6rem, 1.25rem + 1.2vw, 2.15rem); display: inline-flex; align-items: center; gap: .5rem; }
.spy-spark { width: 1.3rem; height: 1.3rem; flex: none; background: linear-gradient(var(--spy-orange), var(--spy-orange)) 0 50% / 100% 3px no-repeat, linear-gradient(var(--spy-orange), var(--spy-orange)) 50% 0 / 3px 100% no-repeat; transform: rotate(-20deg); border-radius: 2px; }
.spy-section__note { font-size: .85rem; color: var(--spy-muted); margin-top: .35rem !important; margin-bottom: 1.2rem !important; }
.spy-deal-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 14.5rem), 1fr)); gap: 1rem; }
.spy-deal { background: var(--spy-white); border: 1px solid var(--spy-line); border-radius: 18px; overflow: hidden; box-shadow: 0 8px 22px -16px rgba(15, 37, 87, .45); display: flex; flex-direction: column; }
.spy-deal__img { aspect-ratio: 4 / 3; object-fit: cover; width: 100%; }
.spy-deal__body { padding: .9rem 1rem 1.1rem; }
.spy-deal h3 { font-size: 1.12rem; line-height: 1.2; }
.spy-deal h3 a, .spy-card__title a, .spy-topic-lead h2 a { text-decoration: none; }
.spy-deal h3 a:hover, .spy-card__title a:hover, .spy-topic-lead h2 a:hover { text-decoration: underline; text-decoration-color: var(--spy-orange); color: var(--spy-navy); }
.spy-deal__summary { font-size: .86rem; color: var(--spy-body-2); margin-top: .35rem !important; }

/* Newsletter box */
.spy-signup { background: var(--spy-navy); color: #e3ecfa; border-radius: 22px; padding: 1.5rem; }
.spy-signup h2 { color: #fff; font-size: 1.5rem; }
.spy-signup p { font-size: .9rem; line-height: 1.5; margin-top: .45rem; }
.spy-signup__form { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: 1rem; background: var(--spy-white); border-radius: 999px; padding: .3rem; }
.spy-signup__form input { flex: 1 1 10rem; min-width: 0; min-height: 2.5rem; border: 0; border-radius: 999px; background: transparent; color: var(--spy-ink); padding: .4rem .9rem; font: 400 .95rem var(--spy-sans); }
.spy-signup__form .spy-btn { min-height: 2.5rem; }
.spy-signup__ticks { list-style: none; margin: .8rem 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: .4rem 1.1rem; font-size: .82rem; font-weight: 700; }
.spy-signup__ticks li { display: inline-flex; align-items: center; gap: .35rem; }
.spy-signup__ticks .spy-icon { color: var(--spy-cyan); width: 1rem; height: 1rem; }
.spy-signup--compact h2 { font-size: 1.3rem; }
.spy-signup--banner { position: relative; display: grid; grid-template-columns: auto minmax(0, 1fr) minmax(0, 1.1fr); align-items: center; gap: 1.2rem 2rem; margin-top: clamp(2.8rem, 6vw, 4.4rem); padding: clamp(1.4rem, 3vw, 2.2rem); overflow: hidden; }
.spy-signup--banner h2 { font: 700 clamp(1.6rem, 1.2rem + 1.2vw, 2.1rem)/1.05 var(--spy-hand); color: #fff; transform: rotate(-2deg); }
.spy-signup--banner .spy-signup__form { margin-top: 0; }
.spy-signup__art { width: 9rem; height: auto; }

/* Topic page */
.spy-band { background: var(--spy-cream); border-bottom: 1px solid var(--spy-line); padding: clamp(1.75rem, 4vw, 3rem) 0; }
.spy-band__title { display: flex; align-items: center; gap: 1rem; }
.spy-band__title .spy-kicker { margin-bottom: .1rem; }
.spy-band__icon { display: grid; place-items: center; width: 3.55rem; height: 3.55rem; border-radius: 16px; background: var(--spy-paper); border: 1px solid var(--spy-line); color: var(--spy-green); flex: none; }
.spy-band__icon .spy-topic__svg { width: 1.78rem; height: 1.78rem; }
.spy-band h1, .spy-article__head h1, .spy-static h1 { font-size: clamp(1.9rem, 1.3rem + 2.2vw, 3.1rem); line-height: 1.06; letter-spacing: -.02em; }
.spy-band__desc { font-size: clamp(1rem, .92rem + .35vw, 1.11rem); color: var(--spy-body-2); margin-top: 1rem !important; max-width: 40em; }
.spy-topic { padding-top: clamp(2rem, 5vw, 3rem); }
.spy-topic-lead { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 23rem), 1fr)); gap: clamp(1.25rem, 3vw, 2rem); align-items: center; padding-bottom: clamp(1.75rem, 4vw, 2.6rem); border-bottom: 1px solid var(--spy-line); margin-bottom: clamp(1.75rem, 4vw, 2.6rem); }
.spy-topic-lead img { aspect-ratio: 3 / 2; object-fit: cover; border-radius: 8px; width: 100%; }
.spy-topic-lead h2 { font-size: clamp(1.45rem, 1.05rem + 1.4vw, 2rem); line-height: 1.15; }
.spy-card-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 17.8rem), 1fr)); gap: clamp(1.55rem, 3vw, 2.2rem); }
.spy-card__img { aspect-ratio: 3 / 2; object-fit: cover; border-radius: 6px; width: 100%; margin-bottom: .9rem; }
.spy-card__title { font-size: 1.22rem !important; line-height: 1.25; }
.spy-card__summary { font-size: .89rem; color: var(--spy-body-2); margin-top: .45rem !important; }
.spy-pager { display: flex; gap: .6rem; margin-top: 2rem; }
.spy-empty-box { border: 1px dashed #d6c9ab; border-radius: 10px; max-width: 40rem; padding: clamp(1.4rem, 3vw, 2rem); }
.spy-empty-box h2 { font-size: 1.45rem; }
.spy-empty-box p { color: var(--spy-body-2); margin: .6rem 0 1.2rem !important; }

/* Article */
.spy .mb-engine-notice--disclaimer { background: var(--spy-cream); border-bottom: 1px solid var(--spy-line); color: var(--spy-ink); font: 400 .78rem/1.5 var(--spy-sans); padding: .55rem var(--spy-gutter); } /* the engine's topic disclaimer, styled as the design's strip */
.spy-article { padding-top: clamp(1.5rem, 4vw, 2.6rem); }
.spy-article__head h1 { max-width: 20em; }
.spy-article__dek { font-size: clamp(1.05rem, .95rem + .45vw, 1.22rem); line-height: 1.5; color: var(--spy-body-2); max-width: 36em; margin-top: .9rem !important; }
.spy-article__meta { display: flex; flex-wrap: wrap; gap: .4rem 1.4rem; font-size: .78rem; color: var(--spy-muted); border-top: 1px solid var(--spy-line); border-bottom: 1px solid var(--spy-line); padding: .7rem 0; margin-top: 1.4rem !important; }
.spy-article__meta a { font-weight: 700; color: var(--spy-navy); }
.spy-article__hero { margin-top: clamp(1.4rem, 3vw, 2rem); }
.spy-article__hero .engine-hero { margin: 0; }
.spy-article__hero img { width: 100%; aspect-ratio: 2 / 1; object-fit: cover; border-radius: 8px; }
.spy-article__hero figcaption { font-size: .78rem; color: var(--spy-muted); margin-top: .5rem; }
.spy-article__columns { display: flex; flex-wrap: wrap; align-items: flex-start; gap: clamp(2rem, 5vw, 4rem); margin-top: clamp(1.75rem, 4vw, 2.6rem); }
.spy-article__main { flex: 999 1 26rem; max-width: 39rem; min-width: 0; }
.spy-article__side { flex: 1 1 15.5rem; max-width: 19rem; position: sticky; top: 1.35rem; display: grid; gap: 1.6rem; }
.spy-toc ol, .spy-toc-mobile ol { list-style: none; margin: 0; padding: 0; border-left: 2px solid var(--spy-line); }
.spy-toc a, .spy-toc-mobile a { display: block; padding: .4rem 0 .4rem .9rem; font-size: .83rem; line-height: 1.35; text-decoration: none; color: var(--spy-body-2); }
.spy-toc a:hover, .spy-toc-mobile a:hover { color: var(--spy-navy); text-decoration: underline; text-decoration-color: var(--spy-gold); }
.spy-toc-mobile { display: none; background: var(--spy-cream); border: 1px solid var(--spy-line); border-radius: 8px; margin-bottom: 1.4rem; }
.spy-toc-mobile summary { min-height: 2.65rem; display: flex; align-items: center; padding: 0 1rem; font-weight: 700; cursor: pointer; }
.spy-toc-mobile ol { margin: 0 1rem 1rem; }

/* Prose (articles, offers, static pages) */
.spy-prose { font: 400 clamp(1.05rem, 1rem + .2vw, 1.11rem)/1.68 var(--spy-serif); color: var(--spy-ink); }
.spy-prose > * + * { margin-top: 1.1em; }
.spy-prose h2 { font-size: clamp(1.39rem, 1.2rem + .6vw, 1.55rem); line-height: 1.2; margin: 1.8em 0 .5em; scroll-margin-top: 1rem; }
.spy-prose h2:target { text-decoration: underline; text-decoration-color: var(--spy-gold); text-decoration-thickness: 3px; text-underline-offset: 6px; }
.spy-prose h3 { font-size: 1.22rem; line-height: 1.25; margin: 1.5em 0 .4em; }
.spy-prose h2 + *, .spy-prose h3 + * { margin-top: 0; }
.spy-prose ul, .spy-prose ol { padding-left: 1.3em; }
.spy-prose li + li { margin-top: .5em; }
.spy-prose li strong { font-weight: 600; color: var(--spy-navy); }
.spy-prose blockquote { margin: 1.6em 0; padding: .2em 0 .2em 1.2em; border-left: 3px solid var(--spy-gold); font-style: italic; color: var(--spy-body-2); }
.spy-prose figure { margin: 1.6em 0; }
.spy-prose figure img { border-radius: 8px; }
.spy-prose--lede > p:first-child { font-family: var(--spy-sans); font-size: 1.12em; color: var(--spy-body-2); }
.spy-sources, .spy .engine-sources { background: var(--spy-cream); border-radius: 8px; padding: 1.35rem; margin-top: 2.2rem; font: 400 .83rem/1.5 var(--spy-sans); }
.spy-sources h2, .spy .engine-sources h2 { font-size: 1.22rem; margin-bottom: .7rem; }
.spy-sources ol, .spy .engine-sources ol { margin: 0; padding-left: 1.3em; }
.spy-sources li, .spy .engine-sources li { margin: .4rem 0; overflow-wrap: anywhere; }
.spy-sources a { text-decoration: none; }
.spy-sources a strong { color: var(--spy-navy); }
.spy-sources a span { color: var(--spy-muted); }
.spy-sources a:hover strong { text-decoration: underline; text-decoration-color: var(--spy-gold); }
.spy-sources__title { display: block; color: var(--spy-muted); }

/* Offer */
.spy-offer { display: flex; flex-wrap: wrap; align-items: flex-start; gap: clamp(2rem, 5vw, 4rem); padding-top: clamp(1.5rem, 4vw, 2.6rem); }
.spy-offer__main { flex: 999 1 26rem; max-width: 40rem; min-width: 0; }
.spy-offer__side { flex: 1 1 15.5rem; max-width: 22rem; }
.spy-offer__badges { display: flex; flex-wrap: wrap; align-items: center; gap: .6rem; margin-bottom: .6rem !important; }
.spy-offer__badges .spy-kicker { margin: 0; }
.spy-offer h1 { font-size: clamp(1.78rem, 1.3rem + 1.8vw, 2.67rem); line-height: 1.08; letter-spacing: -.02em; }
.spy-offer .spy-meta { margin-top: 1rem; }
.spy-offer .spy-prose { margin-top: 1.2rem; }
.spy-offer__cta { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 1.2rem; margin-top: 1.8rem; }
.spy-offer__cta .spy-meta { margin: 0; }

/* Static pages */
.spy-static { max-width: calc(39rem + 2 * var(--spy-gutter)); padding-top: clamp(1.78rem, 5vw, 4rem); }
.spy-static .spy-prose { margin-top: 1.2rem; }

/* 404 */
.spy-404 { padding-top: clamp(2.2rem, 8vw, 6.2rem); padding-bottom: clamp(1rem, 4vw, 2rem); }
.spy-404 h1 { font-size: clamp(1.9rem, 1.3rem + 2.2vw, 3.1rem); line-height: 1.06; letter-spacing: -.02em; }
.spy-404 .spy-article__dek { margin-bottom: 1.6rem !important; }

/* Engine-owned pages: sign-up, unsubscribe, do-not-sell and confirmations */
.spy main:has(.mb-subscribe) { background: var(--spy-cream); padding: clamp(2rem, 6vw, 4.5rem) var(--spy-gutter); }
.spy .mb-subscribe { max-width: 31rem; margin: 0 auto; background: var(--spy-paper); border: 1px solid var(--spy-line); border-radius: 12px; padding: clamp(1.35rem, 4vw, 2.65rem); }
.spy .mb-subscribe h1 { font-size: clamp(1.67rem, 1.3rem + 1.4vw, 2.22rem); line-height: 1.12; }
.spy .mb-subscribe p { margin-top: 1rem; }
.spy .mb-subscribe label { font-weight: 700; color: var(--spy-navy); font-size: .89rem; }
.spy .mb-subscribe input[type="email"], .spy .mb-subscribe input[type="text"], .spy .mb-subscribe select, .spy .mb-subscribe textarea { display: block; width: 100%; min-height: 2.9rem; margin-top: .4rem; border: 1.5px solid #8a8f98; border-radius: 6px; background: #fff; padding: .5rem .8rem; font: 400 1rem var(--spy-sans); color: var(--spy-ink); }
.spy .mb-subscribe input[aria-invalid="true"] { border-color: var(--spy-error); }
.spy .mb-subscribe__error { display: block; color: var(--spy-error); font-weight: 700; font-size: .83rem; margin-top: .35rem; }
.spy .mb-subscribe__consent { display: flex; gap: .7rem; align-items: flex-start; }
.spy .mb-subscribe__consent input { width: 1.35rem; height: 1.35rem; flex: none; accent-color: var(--spy-green); margin-top: .1rem; }
.spy .mb-subscribe__consent label { font-weight: 400; color: var(--spy-ink); }
.spy .mb-subscribe button { width: 100%; min-height: 2.9rem; border: 0; border-radius: 999px; background: var(--spy-gold); color: var(--spy-navy); font: 700 1rem/1 var(--spy-sans); cursor: pointer; transition: background-color .15s; }
.spy .mb-subscribe button:hover { background: var(--spy-gold-hover); }
.spy .mb-subscribe__note { font-size: .83rem; color: var(--spy-muted); }
.spy .mb-subscribe__status { color: var(--spy-ink); }
.spy .mb-confirm__icon { display: grid; place-items: center; width: 2.9rem; height: 2.9rem; border-radius: 50%; background: var(--spy-green); color: var(--spy-cream); font-size: 1.35rem; margin: 0 0 1rem !important; }
.spy .mb-confirm__actions { display: flex; flex-wrap: wrap; gap: .8rem 1.2rem; align-items: center; margin-top: 1.5rem !important; }
.spy .mb-confirm__primary { display: inline-flex; align-items: center; min-height: 2.65rem; padding: .55rem 1.2rem; border-radius: 999px; background: var(--spy-gold); color: var(--spy-navy) !important; font-weight: 700; text-decoration: none; }
.spy .mb-confirm__primary:hover { background: var(--spy-gold-hover); }

/* The one hard breakpoint (about 900px) */
@media (max-width: 56.25rem) {
    .spy-header__cta, .spy-nav { display: none; }
    .spy-signup--banner { grid-template-columns: 1fr; }
    .spy-signup__art { display: none; }
    .spy-hero__badge { width: 6rem; height: 6rem; font-size: .8rem; right: .2rem; }
    .spy-hero__note { position: static; display: inline-block; margin-top: .9rem; }
    .spy-menu { display: block; }
    .spy-header__bar { position: relative; }
    .spy-article__side { position: static; max-width: none; flex-basis: 100%; }
    .spy-article__side .spy-toc { display: none; }
    .spy-toc-mobile { display: block; }
    .spy-offer__side { max-width: none; flex-basis: 100%; }
}
.spy main:has(.mb-subscribe) + .spy-footer { margin-top: 0; }
@media (max-width: 30rem) {
    .spy-signup__form { background: none; padding: 0; border-radius: 0; }
    .spy-signup__form input { flex-basis: 100%; background: var(--spy-white); min-height: 2.75rem; }
    .spy-signup__form .spy-btn { flex-basis: 100%; }
}
