/* Simulators hub: extra styles on top of the site's style.css */
.pv-banner{background:#fef3c7;color:#78350f;border-bottom:2px solid #f59e0b;font-size:16px;line-height:1.45;padding:10px 0}
.pv-banner b{color:#92400e}
.sims-hero{padding:34px 0 10px}
.sims-hero h1{font-size:clamp(34px,5vw,48px);line-height:1.1;margin:6px 0 12px}
.sims-hero .lede{font-size:20px;max-width:62ch;color:var(--muted);margin:0 0 18px}
.free-pill{display:inline-flex;align-items:center;gap:8px;background:#dcfce7;color:#166534;border-radius:999px;padding:6px 14px;font-weight:700;font-size:16px}
[data-theme="dark"] .free-pill{background:#123b22;color:#86efac}
@media (prefers-color-scheme:dark){:root:not([data-theme="light"]) .free-pill{background:#123b22;color:#86efac}}
.sim-filter{display:flex;flex-wrap:wrap;gap:8px;margin:22px 0 18px}
.sim-filter button{font:600 16px var(--font);padding:9px 16px;border-radius:999px;border:1px solid var(--border);background:var(--surface);color:var(--text);cursor:pointer}
.sim-filter button[aria-pressed="true"]{background:var(--text);color:var(--bg);border-color:var(--text)}
.sim-grid{display:grid;gap:22px;grid-template-columns:repeat(auto-fill,minmax(330px,1fr))}
.sim-card{background:var(--surface);border:1px solid var(--border);border-radius:16px;box-shadow:var(--shadow);overflow:hidden;display:flex;flex-direction:column}
.sim-card .shot{display:block;position:relative;aspect-ratio:16/10;background:var(--surface-2);border-bottom:1px solid var(--border)}
.sim-card .shot img{width:100%;height:100%;object-fit:cover;display:block}
.sim-card .shot .tier{position:absolute;left:12px;top:12px;font-weight:700;font-size:14px;border-radius:999px;padding:4px 11px;background:rgba(27,29,33,.86);color:#fff}
.sim-card .body{padding:18px 20px 20px;display:flex;flex-direction:column;gap:10px;flex:1}
.sim-card h3{font-size:23px;line-height:1.2;margin:0}
.sim-card h3 a{color:inherit;text-decoration:none}
.sim-card p{margin:0;font-size:17px;line-height:1.55}
.sim-card .who{font-size:15px;color:var(--muted)}
.lvls{display:flex;flex-wrap:wrap;gap:6px;margin:2px 0 0;padding:0;list-style:none}
.lvls li{font-size:14px;line-height:1.3;border:1px solid var(--border);border-radius:999px;padding:4px 10px;color:var(--muted)}
.lvls li.free{background:#dcfce7;color:#166534;border-color:#86efac;font-weight:700}
[data-theme="dark"] .lvls li.free{background:#123b22;color:#86efac;border-color:#166534}
@media (prefers-color-scheme:dark){:root:not([data-theme="light"]) .lvls li.free{background:#123b22;color:#86efac;border-color:#166534}}
.sim-card .price{font-size:16px;color:var(--muted);margin-top:auto;padding-top:6px}
.sim-card .price b{color:var(--text);font-size:18px}
.sim-card .acts{display:flex;gap:10px;flex-wrap:wrap}
.sim-card .acts .btn{font-size:17px;padding:12px 16px;flex:1;justify-content:center}
.btn-primary{background:var(--accent);color:#fff}
.btn-line{border:2px solid var(--accent)!important;color:var(--accent);background:transparent}
.owned-tag{display:none;font-weight:700;font-size:15px;color:#166534}
.sim-card.owned .owned-tag{display:inline}
.sim-card.owned .unlock{display:none}
.sec{padding:46px 0 10px}
.sec h2{font-size:32px;line-height:1.2;margin:0 0 8px}
.sec .sub{font-size:18px;color:var(--muted);margin:0 0 22px;max-width:62ch}
.plans{display:grid;gap:16px;grid-template-columns:repeat(auto-fit,minmax(230px,1fr))}
.plan{background:var(--surface);border:2px solid var(--border);border-radius:16px;padding:22px;display:flex;flex-direction:column;gap:10px}
.plan.best{border-color:var(--accent);position:relative}
.plan.best::before{content:"Recommended";position:absolute;top:-14px;left:20px;background:var(--accent);color:#fff;font-weight:700;font-size:14px;border-radius:999px;padding:3px 12px}
.plan h3{font-size:24px;margin:0}
.plan .amt{font-size:34px;font-weight:800;line-height:1.1}
.plan .amt small{font-size:17px;font-weight:600;color:var(--muted)}
.plan .alt{font-size:16px;color:var(--muted)}
.plan ul{margin:4px 0 8px;padding-left:20px;font-size:17px;line-height:1.6}
.plan .btn{justify-content:center;font-size:17px;margin-top:auto}
.singles{margin-top:22px;border:1px solid var(--border);border-radius:14px;background:var(--surface);overflow:hidden}
.singles table{width:100%;border-collapse:collapse;font-size:17px}
.singles th,.singles td{text-align:left;padding:12px 16px;border-bottom:1px solid var(--border)}
.singles tr:last-child td{border-bottom:0}
.singles th{background:var(--surface-2);font-size:16px}
.faq details{background:var(--surface);border:1px solid var(--border);border-radius:12px;padding:14px 18px;margin-bottom:10px}
.faq summary{font-size:19px;font-weight:700;cursor:pointer}
.faq details p{font-size:17px;margin:10px 0 2px}
@media (max-width:600px){.sim-grid{grid-template-columns:1fr}.sims-hero .lede{font-size:18px}.singles th,.singles td{padding:10px 10px;font-size:16px}}

/* checkout */
.co h1{font-size:34px;line-height:1.15;margin:24px 0 10px}.co p{font-size:18px}
.co-opt{display:grid;grid-template-columns:auto 1fr auto;gap:2px 12px;align-items:center;border:2px solid var(--border);border-radius:12px;padding:14px 16px;margin-bottom:10px;cursor:pointer;background:var(--surface)}
.co-opt:has(input:checked){border-color:var(--accent);background:var(--accent-soft)}
.co-opt input{grid-row:span 2;width:22px;height:22px;accent-color:var(--accent)}
.co-opt .t{font-size:19px;font-weight:700}.co-opt .p{grid-row:span 2;font-size:22px;font-weight:800;text-align:right}.co-opt .p small{font-size:15px;color:var(--muted);font-weight:600}
.co-opt .n{font-size:16px;color:var(--muted)}
.co label.chk{display:flex;gap:12px;align-items:flex-start;font-size:17px;line-height:1.5;margin:18px 0;background:var(--surface-2);padding:14px;border-radius:12px}
.co label.chk input{width:22px;height:22px;margin-top:3px;flex:none;accent-color:var(--accent)}
.co .fld{display:block;font-size:17px;font-weight:600;margin:16px 0 6px}.co input[type=email]{width:100%;font-size:18px;padding:12px;border-radius:10px;border:1px solid var(--border);background:var(--surface);color:var(--text)}
.co .go{font-size:19px;padding:15px 24px;width:100%;justify-content:center;border:0;cursor:pointer}
.co .err{color:#b91c1c;font-weight:700;font-size:17px;min-height:1.5em}
.co .small{font-size:16px;color:var(--muted)}
.co .note{border-left:4px solid #f59e0b;background:#fef3c7;color:#78350f;padding:12px 14px;border-radius:8px;font-size:16px}
/* two big columns so thumbnails and text stay large */
.sim-sec{margin-top:30px}
.sim-sec-head{display:flex;flex-wrap:wrap;align-items:baseline;gap:6px 18px;margin:0 0 16px;border-bottom:2px solid var(--border);padding-bottom:10px}
.sim-sec-head h2{font-size:30px;line-height:1.2;margin:0}
.sim-sec-head p{margin:0;font-size:17px;color:var(--muted)}
.sim-grid{grid-template-columns:repeat(auto-fill,minmax(420px,1fr))}
@media (max-width:900px){.sim-grid{grid-template-columns:1fr}}
.sim-card .shot{margin:0;padding:0}

/* jump buttons under the hero (ROSS 25 Nov: get to the prices without scrolling) */
.sims-jump{display:flex;flex-wrap:wrap;gap:10px;margin:18px 0 0}
.sims-jump .btn{min-height:44px}
#pricing,#trade,#hv,#code{scroll-margin-top:80px}
@media (max-width:600px){.sims-jump .btn{flex:1 1 auto;justify-content:center;text-align:center}}
@media (prefers-reduced-motion:no-preference){html{scroll-behavior:smooth}}

/* unbranded calculator widgets licence page (/widgets/unbranded/) */
.wl .sims-hero{padding-bottom:4px}
.wl-compare{display:grid;grid-template-columns:1fr 1fr;gap:18px;margin:18px 0 4px}
.wl-mock{margin:0}
.wl-frame{background:var(--surface);border:1px solid var(--border);border-radius:14px;box-shadow:var(--shadow);overflow:hidden}
.wl-calc{padding:18px 18px 14px;display:grid;grid-template-columns:1fr 1fr;gap:10px}
.wl-in,.wl-out{display:block;height:38px;border-radius:9px;border:1px solid var(--border);background:var(--surface-2)}
.wl-out{grid-column:1/-1;height:54px;background:var(--accent-soft);border-color:transparent}
.wl-credit{font-size:15px;color:var(--muted);border-top:1px solid var(--border);padding:10px 18px;background:var(--surface-2)}
.wl-credit b{color:var(--accent)}
.wl-credit.wl-none{color:transparent;background:var(--surface);user-select:none}
.wl-mock-pro .wl-frame{border:2px solid var(--accent)}
.wl-mock figcaption{font-size:17px;margin:10px 2px 0;color:var(--muted)}
.wl-mock figcaption b{color:var(--text)}
.wl-plans{max-width:640px}
.wl-ticks{list-style:none;padding:0;margin:22px 0 10px;font-size:17px;line-height:1.55;max-width:66ch}
.wl-ticks li{position:relative;padding-left:30px;margin:0 0 8px}
.wl-ticks li::before{content:"\2713";position:absolute;left:4px;top:0;color:#15803d;font-weight:800}
.wl .small{font-size:16px;color:var(--muted)}
.wl-box{background:var(--surface);border:1px solid var(--border);border-radius:14px;padding:18px 20px;margin:0 0 16px;font-size:17px}
.wl-box h3{font-size:22px;margin:0 0 8px}
.wl-box p{margin:0 0 12px}
.wl-okline{font-size:18px;color:#166534}
[data-theme="dark"] .wl-okline{color:#86efac}
@media (prefers-color-scheme:dark){:root:not([data-theme="light"]) .wl-okline{color:#86efac}}
.wl-dom{display:grid;grid-template-columns:110px 1fr;align-items:center;gap:10px;margin:0 0 10px}
.wl-dom span{font-weight:600}
.wl-dom input{font-size:18px;padding:11px 12px;border-radius:10px;border:1px solid var(--border);background:var(--surface);color:var(--text);min-width:0}
.wl #wl-more{margin:0 0 12px}
.wl .err{color:#b91c1c;font-weight:700;min-height:1.4em}
.wl-ok{color:#15803d;font-weight:700}
.wl-code{border:1px solid var(--border);border-radius:12px;padding:12px 14px;margin:0 0 10px;background:var(--surface-2)}
.wl-code summary{font-weight:700;font-size:18px;cursor:pointer}
.wl-code textarea{width:100%;box-sizing:border-box;margin:10px 0;font:14px/1.45 ui-monospace,Consolas,monospace;padding:10px;border:1px solid var(--border);border-radius:8px;background:var(--surface);color:var(--text);resize:vertical}
.wl-code p{margin:0}
.wl-pv iframe{width:100%;border:1px solid var(--border);border-radius:10px;background:var(--bg);display:block;margin:12px 0 0}
.wl code#wl-key{font-size:16px;word-break:break-all;background:var(--surface-2);padding:4px 8px;border-radius:6px}
.wl .note{border-left:4px solid #f59e0b;background:#fef3c7;color:#78350f;padding:12px 14px;border-radius:8px;font-size:16px}
.acct-w{background:var(--surface-2);border-radius:10px;padding:12px 14px}
#wl-buy,#wl-manage{scroll-margin-top:80px}
@media (max-width:600px){.wl-compare{grid-template-columns:1fr}.wl-dom{grid-template-columns:1fr;gap:4px}.wl-box{padding:16px}}
