/* PREMES calm layer (2026-11-24).
   Quieter colour, type and motion: warm near-black instead of pure black,
   soft off-white text, muted accents, serif headlines, and no decorative
   looping animation. Loaded last, after offers.css / scan.css on the dark
   pages and after site.css on the light pages. Removing the <link> brings
   back the previous look. */

/* ===================================================== dark pages (.px) */
.px {
  --bg: #121211;
  --bg2: #161615;
  --card: #1a1a18;
  --card2: #20201e;
  --line: rgba(235, 230, 220, .08);
  --line2: rgba(235, 230, 220, .15);
  --ink: #e8e5de;
  --dim: #a29e95;
  --mute: #7b776f;
  --green: #74c4a3;
  --blue: #93b2d3;
  --violet: #ad9fd6;
  --amber: #d4a862;
  --red: #d98a80;
  --gold: #d6c08e;
  --serif: "Newsreader", "Iowan Old Style", "Palatino Linotype", Georgia, serif;
  background: var(--bg);
  color: var(--ink);
}
.px ::selection { background: rgba(214, 192, 142, .28); }

/* type: serif headlines, lighter weights, calmer labels */
.px :where(h1, h2) { font-family: var(--serif); font-weight: 400; letter-spacing: -.012em; }
.px :where(h1) { font-size: clamp(42px, 6vw, 80px); line-height: 1.03; }
.px :where(h2) { font-size: clamp(32px, 4.3vw, 54px); line-height: 1.08; }
.px :where(h3) { font-weight: 600; letter-spacing: -.01em; }
.px .phero h1 { font-size: clamp(40px, 5.6vw, 74px); }
.px .eyebrow { font: 500 12px/1.4 Inter, sans-serif; letter-spacing: .16em; color: var(--dim); }
.px .lede { color: var(--dim); }
.px .grad, .px .grad-v, .px .grad-b, .px .grad-g {
  background: none; -webkit-background-clip: border-box; background-clip: border-box;
  color: var(--gold); font-style: italic; }

/* nav */
.px .xnav { background: rgba(18, 18, 17, .86); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); }
.px .xnav .brand { font-weight: 700; }
.px .xnav .links a { color: var(--dim); }
.px .xnav .links a:hover, .px .xnav .links a[aria-current] { color: var(--ink); }

/* buttons: flat, no glow; the primary is quiet off-white */
.px .btn { font-weight: 600; transition: background .2s, color .2s, box-shadow .2s; }
.px .btn:active { transform: none; }
.px .btn.green, .px .btn.white { background: var(--ink); color: #141413; box-shadow: none; }
.px .btn.green:hover, .px .btn.white:hover { background: #f4f2ec; box-shadow: none; }
.px .btn.ghost { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 1px var(--line2); }
.px .btn.ghost:hover { background: rgba(235, 230, 220, .05); }

.px :where(section) { padding: clamp(72px, 9vw, 124px) 0; }
@media (max-width: 760px) { .px :where(section) { padding: 60px 0; } }

/* motion: a short, small fade-in only */
.px .reveal { transform: translateY(8px); transition: opacity .6s ease, transform .6s ease; }

/* hero: no coloured glow, just a faint warm light */
.px .hero .glow, .px .phero .glow { background: radial-gradient(55% 45% at 72% 22%, rgba(214, 192, 142, .07), transparent 70%); }
.px .hero .fine { color: var(--mute); }

/* hero app cards: still, solid, softer */
.px .sc { animation: none; color: var(--ink); background: var(--card); backdrop-filter: none; -webkit-backdrop-filter: none;
  box-shadow: inset 0 0 0 1px var(--line), 0 18px 44px rgba(0, 0, 0, .32); }
.px .sc:hover { box-shadow: inset 0 0 0 1px var(--line2), 0 18px 44px rgba(0, 0, 0, .32); }
.px .sc-head b { font-weight: 600; }
.px .sc .tag { font-weight: 600; color: var(--dim); background: rgba(235, 230, 220, .05); }
.px .sc .tag.live { color: var(--red); background: rgba(217, 138, 128, .1); }
.px .sc .tag.ok { color: var(--green); background: rgba(116, 196, 163, .1); }
.px .sc .tag.warn { color: var(--violet); background: rgba(173, 159, 214, .1); }
.px .sc-cam img { filter: saturate(.85) contrast(.98); }
.px .sc-cam .box { border-color: var(--green); }
.px .sc-cam .lbl { background: var(--green); color: #102019; font-weight: 700; }
.px .sc-line { color: var(--dim); }
.px .sc-line .dots { color: var(--gold); }
.px .sc-bar i { animation: none; width: 46%; background: var(--violet); }

/* icon tiles: flat, lightly tinted */
.px .ico-tile { box-shadow: inset 0 0 0 1px var(--line2); }
.px .ico-tile.sec { background: #1c2420; color: var(--green); }
.px .ico-tile.vpn { background: #1c2129; color: var(--blue); }
.px .ico-tile.pw { background: #26231b; color: var(--gold); }
.px .ico-tile.priv { background: #221f29; color: var(--violet); }
.px .orbit .core { box-shadow: inset 0 0 0 1px var(--line2), 0 24px 60px rgba(0, 0, 0, .4); }
.px .orbit .core img { filter: none; }

/* product cards: no tinted glows, no lift */
.px .pc, .px .pcard { color: var(--ink); }
.px .pc::before, .px .pcard::before { opacity: 0; }
.px .pc:hover, .px .pcard:hover { transform: none; box-shadow: inset 0 0 0 1px var(--line2); }
.px .pc-kind { font-weight: 600; color: var(--mute); }
.px .pc h3, .px .pcard h3 { font-family: var(--serif); font-weight: 400; letter-spacing: -.01em; font-size: 30px; }
.px .pc-list { color: #cbc7be; }
.px .pc-price b, .px .pcard .price b { font-weight: 600; }
.px .pc-more { color: var(--ink); background: transparent; box-shadow: inset 0 0 0 1px var(--line2); }
.px .pc:hover .pc-more { background: rgba(235, 230, 220, .05); }
.px .pcard:hover .go { background: var(--ink); color: #141413; transform: none; }
.px .pc-feature { color: var(--ink); background: var(--card); box-shadow: inset 0 0 0 1px var(--line); }
.px .pc-feature:hover { transform: none; box-shadow: inset 0 0 0 1px var(--line2); }
.px .pcf-copy h3 { font-family: var(--serif); font-weight: 400; letter-spacing: -.01em; font-size: 36px; }
.px .pcf-cam img { filter: saturate(.85); }
.px .pcf-cam .box { border-color: var(--green); box-shadow: 0 0 0 1px rgba(0, 0, 0, .35); }
.px .pcf-cam .lbl { background: var(--green); color: #102019; font-weight: 700; }
.px .pre-tag { background: rgba(235, 230, 220, .07); color: var(--dim); font-weight: 600; }

/* pricing */
.px .tier { background: var(--card); }
.px .tier.best { background: var(--card); box-shadow: inset 0 0 0 1px rgba(214, 192, 142, .5); }
.px .tier .badge { background: var(--gold); color: #1d190f; font: 600 11px/1 Inter, sans-serif; letter-spacing: .12em; }
.px .tier h3 { font-family: var(--serif); font-weight: 400; font-size: 26px; letter-spacing: 0; }
.px .tier .amt { font-weight: 600; }
.px .tier ul { color: #cbc7be; }
.px .tier li::before { background: rgba(116, 196, 163, .12) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2374c4a3' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12l4 4 8-8'/%3E%3C/svg%3E") center/12px no-repeat; }
.px .tier .save { color: var(--green); font-weight: 600; }
.px .seg button { font-weight: 600; }
.px .seg button[aria-pressed="true"] { background: var(--ink); color: #141413; }

/* bands, bento, timeline, trust */
.px .band { background: var(--card); box-shadow: inset 0 0 0 1px var(--line); }
.px .band .ticker ul { animation: none; }
.px .band .ticker li { color: var(--dim); }
.px .bento .big { font-weight: 600; }
.px .bento .ico { background: rgba(235, 230, 220, .05); }
.px .tl::before { background: var(--line2); }
.px .tl b { font-weight: 600; }
.px .trust > div { background: transparent; }
.px .trust h3 { font-family: var(--serif); font-weight: 400; font-size: 22px; letter-spacing: 0; }

/* faq */
.px details summary { font: 500 18px/1.4 Inter, sans-serif; color: var(--ink); }

/* forms */
.px .card { box-shadow: inset 0 0 0 1px var(--line2), 0 24px 60px rgba(0, 0, 0, .3); }
.px label.f, .px .check { color: #cbc7be; }
.px input.i, .px select.i, .px .code input { background: #0f0f0e; border-color: #2e2d2a; color: var(--ink); }
.px input.i:focus, .px select.i:focus, .px .code input:focus { border-color: var(--green); box-shadow: 0 0 0 3px rgba(116, 196, 163, .14); }

/* checkout (join.html) */
.px .plans-pick button[aria-checked="true"], .px .bill button[aria-pressed="true"] { background: var(--card2); }
.px .plans-pick .inc { background: rgba(116, 196, 163, .1); color: var(--green); font-weight: 600; }
.px .plans-pick button.is-included { background: rgba(116, 196, 163, .03); box-shadow: inset 0 0 0 1px rgba(116, 196, 163, .25); }
.px .bill .save { font-weight: 600; }

/* footer */
.px .xfoot b { color: #cbc7be; font-weight: 600; }
.px .xfoot a:hover { color: var(--ink); }

/* per-page accent eyebrows (inline colours) read as one quiet label */
.px .eyebrow[style] { color: var(--dim) !important; }

/* VPN page: the "what sites see" card without the red glow and scanlines */
.px .lk-card { background: var(--card); box-shadow: inset 0 0 0 1px rgba(217, 138, 128, .3); }
.px .lk-card::after { display: none; }
.px .lk-live i { animation: none; box-shadow: none; }

/* free scan: keep the working indicators, drop the glows and throbbing */
.px .st-dot { box-shadow: none; animation-duration: 2s; }
.px .st-site.unverified { animation: none; }
.px .st-counts .match b { text-shadow: none; }
.px .rs-ring .fg { filter: none; }
.px .rr-dots i { animation: rrIn .5s ease forwards; }
.px .rr-dots i.f { box-shadow: none; animation: rrIn .4s ease forwards; }

/* ===================================================== light pages */
body:not(.px) h1, body:not(.px) h2 { font-family: "Newsreader", "Iowan Old Style", "Palatino Linotype", Georgia, serif; font-weight: 400; letter-spacing: -.012em; }
body:not(.px) h1 em, body:not(.px) h2 em { font-style: italic; }
body:not(.px) .reveal { transform: translateY(8px); transition: opacity .6s ease, transform .6s ease; }
body:not(.px) .tier-plus { animation: none; background: var(--card); border: 1px solid var(--violet-2); }
body:not(.px) .seq-strobe { animation: none; background: #fff4cc; }
body:not(.px) .seq-siren { animation: none; }

/* ===================================================== the system page (body.dark) */
body.dark { background: #121211; color: #e8e5de; }
body.dark h1, body.dark h2, body.dark h3 { color: #e8e5de; }
.nav-dark { background: rgba(18, 18, 17, .86); }
.nav-dark .brand { color: #e8e5de; }
.nav-dark .nav-links a { color: #a29e95; }
.nav-dark .nav-links a:hover, .nav-dark .nav-links a[aria-current] { color: #e8e5de; }
.btn-light { background: #e8e5de; color: #141413; }
.btn-light:hover { background: #f4f2ec; }
.btn-ghost-light { border-color: rgba(235, 230, 220, .25); color: #e8e5de; }
.open-sub, .sys-film-sub { color: #a29e95; }
.hub-led { background: #74c4a3; box-shadow: 0 0 6px rgba(116, 196, 163, .45); animation: none; }
.hub-glow { opacity: .45; }
.sys-film { background: #121211; }
body.dark .kicker, body.dark .eyebrow { color: #a29e95; }

/* the app film (home of the 3D phone): same warm dark, much softer aura */
.pf { --bg: #121211; --ink: #e8e5de; --dim: #a29e95; }
.pf-aura { opacity: .35; }

@media (prefers-reduced-motion: reduce) {
  .px .reveal, body:not(.px) .reveal { opacity: 1; transform: none; transition: none; }
}
