:root {
  --ink: #f4f7ff;
  --text: #d7e1f2;
  --muted: #aebdd2;
  --subtle: #7f91aa;
  --bg: #050b17;
  --bg-2: #071426;
  --surface: rgba(10, 24, 44, .82);
  --surface-strong: rgba(10, 24, 44, .95);
  --surface-soft: rgba(16, 34, 58, .64);
  --line: rgba(116, 150, 196, .24);
  --line-strong: rgba(116, 150, 196, .44);
  --blue: #16bce5;
  --purple: #8f5cf2;
  --orange: #ff6518;
  --gold: #ffc51b;
  --green: #4ed6a0;
  --danger: #ff7474;
  --gradient: linear-gradient(90deg, var(--blue), var(--purple) 52%, var(--orange));
  --gradient-warm: linear-gradient(90deg, var(--gold), var(--orange));
  --shadow: 0 24px 70px rgba(0, 0, 0, .34);
  --radius-sm: .7rem;
  --radius: 1.15rem;
  --radius-lg: 1.65rem;
  --header-h: 86px;
  --max: 1180px;
  --step--1: clamp(.89rem, .86rem + .12vw, .98rem);
  --step-0: clamp(1rem, .96rem + .18vw, 1.1rem);
  --step-1: clamp(1.12rem, 1.03rem + .36vw, 1.34rem);
  --step-2: clamp(1.45rem, 1.2rem + .9vw, 2.05rem);
  --step-3: clamp(2rem, 1.45rem + 2vw, 3.3rem);
  --step-4: clamp(2.6rem, 1.72rem + 3.4vw, 4.8rem);
  color-scheme: dark;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; background: var(--bg); }
body {
  margin: 0;
  min-width: 280px;
  min-height: 100vh;
  overflow-x: hidden;
  color: var(--text);
  background:
    radial-gradient(circle at 12% 8%, rgba(22,188,229,.12), transparent 34rem),
    radial-gradient(circle at 88% 12%, rgba(143,92,242,.12), transparent 36rem),
    radial-gradient(circle at 80% 76%, rgba(255,101,24,.08), transparent 38rem),
    linear-gradient(135deg, #050d1a 0%, #070b1d 55%, #100a19 100%);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: var(--step-0);
  line-height: 1.7;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -2;
  pointer-events: none;
  opacity: .26;
  background-image:
    linear-gradient(rgba(255,255,255,.018) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.018) 1px, transparent 1px);
  background-size: 54px 54px;
  mask-image: linear-gradient(to bottom, rgba(0,0,0,.8), transparent 90%);
}
body::after {
  content: "";
  position: fixed;
  width: 48rem;
  height: 48rem;
  right: -18rem;
  top: 20vh;
  z-index: -1;
  pointer-events: none;
  border-radius: 50%;
  background: conic-gradient(from 220deg, rgba(22,188,229,.08), rgba(143,92,242,.12), rgba(255,101,24,.07), rgba(22,188,229,.08));
  filter: blur(50px);
  animation: auroraDrift 22s ease-in-out infinite alternate;
}
@keyframes auroraDrift { to { transform: translate3d(-5rem, 4rem, 0) scale(1.08) rotate(9deg); } }

img, svg { max-width: 100%; height: auto; }
a { color: #bdefff; text-underline-offset: .2em; }
a:hover { color: #fff; }
button, input, select, textarea { font: inherit; }
button { color: inherit; }

.wrap, .container { width: min(calc(100% - 2.5rem), var(--max)); margin-inline: auto; }
.section { padding: clamp(4rem, 7vw, 7rem) 0; }
.section-sm { padding: clamp(2.5rem, 5vw, 4.5rem) 0; }

.skip-link {
  position: fixed;
  top: .6rem;
  left: .6rem;
  z-index: 1000;
  transform: translateY(-150%);
  padding: .7rem 1rem;
  border-radius: .6rem;
  color: #04111f;
  background: var(--gold);
  font-weight: 800;
  text-decoration: none;
}
.skip-link:focus { transform: translateY(0); }

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  min-height: var(--header-h);
  border-bottom: 1px solid rgba(116,150,196,.16);
  background: rgba(4, 10, 22, .88);
  backdrop-filter: blur(18px) saturate(120%);
  transition: box-shadow .2s ease, background .2s ease;
}
.site-header[data-scrolled="true"] { box-shadow: 0 14px 40px rgba(0,0,0,.28); background: rgba(4,10,22,.95); }
.header-inner {
  min-height: var(--header-h);
  display: flex;
  align-items: center;
  gap: 1.3rem;
}
.brand { display: inline-flex; align-items: center; flex: 0 0 auto; text-decoration: none; }
.brand img { display:block; width: clamp(205px, 19vw, 282px); max-height: 66px; object-fit: contain; }
.desktop-nav { margin-left: auto; display: flex; align-items: center; gap: .15rem; }
.desktop-nav a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: .55rem .74rem;
  border-radius: .72rem;
  color: #e6edf9;
  font-size: .92rem;
  font-weight: 760;
  text-decoration: none;
  white-space: nowrap;
}
.desktop-nav a:hover, .desktop-nav a[aria-current="page"] { color:#fff; background: rgba(22,188,229,.09); }
.desktop-nav .main-site-link { margin-left:.35rem; border:1px solid rgba(255,197,27,.34); color:var(--gold); }
.desktop-nav .main-site-link:hover { border-color: rgba(255,197,27,.7); background:rgba(255,197,27,.08); }
.header-cta {
  display: inline-flex;
  align-items:center;
  justify-content:center;
  min-height: 44px;
  margin-left:.35rem;
  padding:.55rem .9rem;
  border-radius:.72rem;
  background:var(--gradient);
  color:#fff;
  font-size:.9rem;
  font-weight:850;
  text-decoration:none;
}
.mobile-toggle {
  display:none;
  width:46px;
  height:46px;
  margin-left:auto;
  border:1px solid var(--line-strong);
  border-radius:.8rem;
  background:rgba(10,24,44,.8);
  cursor:pointer;
  align-items:center;
  justify-content:center;
  flex-direction:column;
  gap:5px;
}
.mobile-toggle span { width:21px; height:2px; border-radius:5px; background:#fff; transition:transform .2s ease, opacity .2s ease; }
.mobile-toggle[aria-expanded="true"] span:nth-child(1){ transform:translateY(7px) rotate(45deg); }
.mobile-toggle[aria-expanded="true"] span:nth-child(2){ opacity:0; }
.mobile-toggle[aria-expanded="true"] span:nth-child(3){ transform:translateY(-7px) rotate(-45deg); }
.mobile-nav {
  display:none;
  position:fixed;
  inset:var(--header-h) 0 auto;
  max-height:calc(100vh - var(--header-h));
  overflow:auto;
  padding:1rem max(1.25rem, calc((100vw - var(--max))/2));
  border-bottom:1px solid var(--line);
  background:rgba(4,10,22,.985);
  box-shadow:0 26px 55px rgba(0,0,0,.38);
}
.mobile-nav.open { display:grid; }
.mobile-nav a {
  padding:.85rem .75rem;
  border-bottom:1px solid rgba(116,150,196,.14);
  color:#edf3ff;
  font-weight:760;
  text-decoration:none;
}
.mobile-nav .mobile-main-site { color:var(--gold); }

h1,h2,h3,h4 { margin:0; color:var(--ink); line-height:1.08; letter-spacing:-.035em; text-wrap:balance; }
h1 { font-size:var(--step-4); font-weight:880; }
h2 { font-size:var(--step-2); font-weight:840; }
h3 { font-size:var(--step-1); font-weight:820; letter-spacing:-.02em; }
p { margin:0 0 1rem; }
.lead { color:#c7d4e8; font-size:var(--step-1); line-height:1.7; }
.mt-1 { margin-top:1rem; }
.eyebrow {
  display:inline-flex;
  align-items:center;
  gap:.65rem;
  margin:0 0 .9rem;
  color:var(--gold);
  font-size:.82rem;
  font-weight:900;
  letter-spacing:.15em;
  text-transform:uppercase;
}
.eyebrow::before { content:""; width:1.8rem; height:2px; border-radius:999px; background:var(--gradient-warm); }
.heading { display:inline-block; position:relative; padding-bottom:.7rem; }
.heading::after { content:""; position:absolute; left:0; bottom:0; width:100%; height:3px; border-radius:99px; background:var(--gradient); }
.section-head { max-width:780px; margin-bottom:clamp(2rem,4vw,3.3rem); }
.section-head.center { margin-inline:auto; text-align:center; }
.section-head.center .heading { display:block; width:fit-content; margin-inline:auto; }
.section-intro { margin-top:1.1rem; color:var(--muted); font-size:var(--step-1); }

.button, .btn {
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:.55rem;
  min-height:48px;
  width:fit-content;
  max-width:100%;
  padding:.72rem 1.15rem;
  border:1px solid transparent;
  border-radius:.85rem;
  color:#fff;
  background:transparent;
  font-weight:820;
  line-height:1.2;
  text-align:center;
  text-decoration:none;
  cursor:pointer;
  transition:transform .18s ease, box-shadow .18s ease, border-color .18s ease, background .18s ease;
}
.button:hover, .btn:hover { transform:translateY(-2px); color:#fff; }
.button-primary, .btn-primary { background:var(--gradient); box-shadow:0 14px 32px rgba(40,99,233,.2); }
.button-primary:hover, .btn-primary:hover { box-shadow:0 18px 38px rgba(40,99,233,.3); }
.button-outline, .button-secondary, .btn-secondary { border-color:var(--line-strong); background:rgba(6,15,29,.55); }
.button-outline:hover, .button-secondary:hover, .btn-secondary:hover { border-color:rgba(22,188,229,.65); background:rgba(22,188,229,.08); }
.button-orange { background:linear-gradient(90deg,#ff8a19,#ff6518); }
.btn-row { display:flex; flex-wrap:wrap; gap:.8rem; margin-top:1.65rem; }
.arrow-link { display:inline-flex; gap:.45rem; align-items:center; color:#edf4ff; font-weight:800; text-decoration:none; }
.arrow-link::after { content:"→"; color:var(--gold); transition:transform .18s ease; }
.arrow-link:hover::after { transform:translateX(.25rem); }

.library-hero { padding:clamp(4rem,8vw,7rem) 0 clamp(3.6rem,7vw,6rem); }
.library-hero-grid { display:grid; grid-template-columns:minmax(0,1.08fr) minmax(340px,.92fr); gap:clamp(2.5rem,6vw,6rem); align-items:center; }
.library-hero h1 { max-width:760px; }
.library-hero .lead { max-width:720px; margin-top:1.35rem; }
.hero-art {
  position:relative;
  min-height:440px;
  display:grid;
  place-items:center;
  border:1px solid var(--line);
  border-radius:var(--radius-lg);
  overflow:hidden;
  background:
    radial-gradient(circle at 40% 42%, rgba(22,188,229,.18), transparent 35%),
    radial-gradient(circle at 68% 60%, rgba(143,92,242,.17), transparent 42%),
    rgba(6,15,30,.64);
  box-shadow:var(--shadow);
}
.hero-art::before, .hero-art::after {
  content:"";
  position:absolute;
  border-radius:50%;
  border:1px solid rgba(116,150,196,.22);
}
.hero-art::before { width:310px; height:310px; }
.hero-art::after { width:210px; height:210px; border-color:rgba(255,197,27,.23); }
.hero-art img { position:relative; z-index:2; width:min(58%,250px); filter:drop-shadow(0 18px 35px rgba(0,0,0,.32)); }
.hero-orbit-dot { position:absolute; width:15px; height:15px; border-radius:50%; background:var(--gold); box-shadow:0 0 22px rgba(255,197,27,.7); }
.hero-orbit-dot.one { top:20%; left:24%; }
.hero-orbit-dot.two { right:20%; top:30%; background:var(--blue); box-shadow:0 0 22px rgba(22,188,229,.7); }
.hero-orbit-dot.three { bottom:20%; left:30%; background:var(--orange); box-shadow:0 0 22px rgba(255,101,24,.7); }
.meta-row { display:flex; flex-wrap:wrap; gap:.55rem; margin-top:1.4rem; }
.meta-pill, .tag {
  display:inline-flex;
  align-items:center;
  min-height:32px;
  padding:.34rem .7rem;
  border:1px solid var(--line);
  border-radius:999px;
  color:#cfdaeb;
  background:rgba(10,24,44,.55);
  font-size:.84rem;
  line-height:1.2;
}

.privacy-strip { border-block:1px solid rgba(116,150,196,.15); background:rgba(8,19,36,.72); }
.privacy-grid { display:grid; grid-template-columns:auto 1fr repeat(3,minmax(0,1fr)); gap:1.2rem; align-items:center; padding:1.25rem 0; }
.privacy-icon { width:44px; height:44px; display:grid; place-items:center; border:1px solid rgba(78,214,160,.4); border-radius:50%; color:var(--green); background:rgba(78,214,160,.08); font-weight:900; }
.privacy-grid strong { display:block; color:#f3f7ff; }
.privacy-grid p { margin:0; color:var(--muted); font-size:.92rem; }
.privacy-point { padding-left:1rem; border-left:1px solid var(--line); }

.guide-grid, .resource-grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:1rem; }
.guide-card, .resource-card, .card {
  position:relative;
  min-width:0;
  display:flex;
  flex-direction:column;
  border:1px solid var(--line);
  border-radius:var(--radius);
  overflow:hidden;
  background:linear-gradient(145deg, rgba(14,31,54,.9), rgba(7,17,33,.84));
  box-shadow:0 16px 40px rgba(0,0,0,.16);
  transition:transform .18s ease, border-color .18s ease, box-shadow .18s ease;
}
.guide-card:hover, .resource-card:hover, .card:hover { transform:translateY(-4px); border-color:rgba(22,188,229,.46); box-shadow:0 22px 48px rgba(0,0,0,.24); }
.guide-card-media, .card-media {
  min-height:190px;
  display:grid;
  place-items:center;
  padding:1.5rem;
  border-bottom:1px solid rgba(116,150,196,.15);
  background:
    radial-gradient(circle at 50% 45%, rgba(22,188,229,.12), transparent 45%),
    linear-gradient(135deg, rgba(143,92,242,.07), rgba(255,101,24,.04));
}
.guide-card-media img, .card-media img { width:min(100%,155px); max-height:155px; object-fit:contain; }
.guide-card-body, .card-body { display:flex; flex:1; flex-direction:column; padding:1.35rem; }
.guide-card h3, .card h3 { margin:.65rem 0 .75rem; font-size:1.3rem; }
.guide-card p, .card p { color:var(--muted); }
.guide-card .arrow-link, .card .button { margin-top:auto; }
.guide-meta { display:flex; justify-content:space-between; gap:.8rem; margin-top:1rem; color:var(--subtle); font-size:.84rem; }

.collection-panel, .trust-panel {
  display:grid;
  grid-template-columns:minmax(0,1fr) minmax(280px,.72fr);
  gap:clamp(2rem,5vw,4rem);
  align-items:center;
  padding:clamp(2rem,5vw,4rem);
  border:1px solid var(--line);
  border-radius:var(--radius-lg);
  background:
    linear-gradient(120deg, rgba(12,29,51,.94), rgba(19,15,43,.88)),
    var(--surface);
  box-shadow:var(--shadow);
}
.collection-visual { min-height:260px; display:grid; place-items:center; }
.collection-visual img { width:min(72%,240px); }
.trust-list { display:grid; gap:.9rem; margin:1.4rem 0 0; padding:0; list-style:none; }
.trust-list li { position:relative; padding-left:1.7rem; color:#d4dfef; }
.trust-list li::before { content:"✓"; position:absolute; left:0; color:var(--gold); font-weight:900; }

.page-hero { padding:clamp(3.8rem,7vw,6.4rem) 0 clamp(3rem,5vw,4.8rem); border-bottom:1px solid rgba(116,150,196,.13); }
.page-hero-grid { display:grid; grid-template-columns:minmax(0,1fr) minmax(220px,.38fr); gap:clamp(2rem,5vw,4rem); align-items:center; }
.page-hero h1 { max-width:860px; }
.page-hero p:not(.eyebrow) { max-width:820px; margin-top:1rem; color:#c5d2e5; font-size:var(--step-1); }
.page-hero img { width:min(100%,240px); justify-self:end; }
.breadcrumbs { margin-bottom:1.1rem; color:var(--subtle); font-size:.9rem; }
.breadcrumbs a { color:#b9c9df; text-decoration:none; }
.reviewed { display:flex; flex-wrap:wrap; gap:.55rem; margin-top:1.3rem; }
.reviewed span { padding:.34rem .7rem; border:1px solid var(--line); border-radius:999px; color:#c9d5e7; background:rgba(9,22,40,.58); font-size:.86rem; }

.article-wrap { max-width:1120px; }
.article-layout { display:grid; grid-template-columns:minmax(0,1fr) 310px; gap:clamp(2rem,4vw,3.6rem); align-items:start; }
.article {
  min-width:0;
  padding:clamp(1.5rem,3.5vw,3rem);
  border:1px solid var(--line);
  border-radius:var(--radius-lg);
  background:rgba(7,18,35,.75);
  box-shadow:0 22px 55px rgba(0,0,0,.2);
}
.article > :first-child { margin-top:0; }
.article h2 { margin:2.35rem 0 .95rem; font-size:clamp(1.45rem,1.2rem + .8vw,2.1rem); }
.article h3 { margin:1.8rem 0 .7rem; }
.article p, .article li { color:#c7d3e5; }
.article a:not(.button) { overflow-wrap:anywhere; }
.article ul, .article ol { padding-left:1.35rem; }
.article li + li { margin-top:.55rem; }
.article .lead { margin-bottom:1.5rem; }
.checklist, .do-not { padding:0 !important; list-style:none; }
.checklist li, .do-not li { position:relative; padding-left:1.75rem; }
.checklist li::before { content:"✓"; position:absolute; left:0; color:var(--gold); font-weight:900; }
.do-not li::before { content:"×"; position:absolute; left:0; color:var(--danger); font-weight:900; }
.steps { counter-reset:step; padding:0 !important; list-style:none; }
.steps li { position:relative; min-height:2.3rem; padding-left:3.1rem; }
.steps li::before { counter-increment:step; content:counter(step); position:absolute; left:0; top:.05rem; width:2rem; height:2rem; display:grid; place-items:center; border:1px solid rgba(22,188,229,.45); border-radius:50%; color:#fff; background:rgba(22,188,229,.09); font-weight:850; }
.callout {
  margin:1.6rem 0;
  padding:1.15rem 1.2rem;
  border:1px solid rgba(22,188,229,.28);
  border-left:4px solid var(--blue);
  border-radius:.8rem;
  background:rgba(22,188,229,.07);
  color:#d7e4f5;
}
.callout strong { display:block; margin-bottom:.3rem; color:#fff; }
.callout.warning { border-color:rgba(255,197,27,.28); border-left-color:var(--gold); background:rgba(255,197,27,.065); }
.callout.success { border-color:rgba(78,214,160,.28); border-left-color:var(--green); background:rgba(78,214,160,.065); }
.official-links { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:.7rem; margin:1.2rem 0; }
.official-link { display:flex; flex-direction:column; padding:1rem; border:1px solid var(--line); border-radius:.8rem; background:rgba(10,24,44,.56); text-decoration:none; }
.official-link strong { color:#fff; }
.official-link span { color:var(--muted); font-size:.9rem; }

.sidebar { display:grid; gap:1rem; position:sticky; top:calc(var(--header-h) + 1.25rem); }
.side-card { padding:1.2rem; border:1px solid var(--line); border-radius:var(--radius); background:rgba(10,24,44,.78); }
.side-card h2 { margin-bottom:.75rem; font-size:1.1rem; }
.side-card p, .source-list { color:var(--muted); font-size:.92rem; }
.source-list { margin:0; padding-left:1.15rem; }
.source-list li + li { margin-top:.55rem; }
.side-card .button { width:100%; margin-top:.4rem; }

.rating { margin-top:2.5rem; padding:1.35rem; border:1px solid rgba(143,92,242,.3); border-radius:var(--radius); background:rgba(143,92,242,.07); }
.rating h2 { margin-top:0; }
.rating-buttons { display:flex; flex-wrap:wrap; gap:.35rem; }
.star { width:46px; height:46px; border:1px solid rgba(255,197,27,.3); border-radius:.7rem; color:#8b7b48; background:rgba(7,17,32,.72); font-size:1.4rem; cursor:pointer; transition:color .15s ease, transform .15s ease, background .15s ease; }
.star:hover, .star.is-active { color:var(--gold); transform:translateY(-1px); background:rgba(255,197,27,.08); }
.star:disabled { cursor:default; opacity:.85; }
.rating-status { min-height:1.7rem; margin:.7rem 0 0; color:#cfe8dc; }

.notice { max-width:760px; padding:clamp(2rem,5vw,4rem); border:1px solid var(--line); border-radius:var(--radius-lg); background:rgba(10,24,44,.8); box-shadow:var(--shadow); }
.notice .button { margin-top:1rem; }
.two-col { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:1rem; }

.site-footer, .footer { margin-top:clamp(3rem,7vw,6rem); border-top:1px solid rgba(116,150,196,.17); background:rgba(3,9,19,.88); }
.footer-grid { display:grid; grid-template-columns:1.25fr .8fr .8fr; gap:clamp(2rem,5vw,4rem); padding:clamp(3rem,6vw,5rem) 0 2.4rem; }
.footer-brand img, .footer-logo { width:min(100%,300px); max-height:92px; object-fit:contain; object-position:left center; }
.footer-brand p, .footer-grid p { max-width:440px; margin-top:1rem; color:var(--muted); }
.footer-title, .footer-grid h2 { margin-bottom:.8rem; font-size:1rem; color:#fff; letter-spacing:-.01em; }
.footer-links { display:grid; gap:.55rem; }
.footer-links a, .footer-grid a { color:#bdcada; text-decoration:none; }
.footer-links a:hover, .footer-grid a:hover { color:#fff; }
.footer-bottom { display:flex; justify-content:space-between; gap:1rem; padding:1.2rem 0 1.6rem; border-top:1px solid rgba(116,150,196,.12); color:var(--subtle); font-size:.88rem; }
.footer-legal { display:flex; flex-wrap:wrap; gap:.9rem; }
.footer-legal a { color:var(--subtle); text-decoration:none; }

:focus-visible { outline:3px solid rgba(22,188,229,.38); outline-offset:3px; }

@media (max-width: 1040px) {
  .desktop-nav, .header-cta { display:none; }
  .mobile-toggle { display:flex; }
  .library-hero-grid { grid-template-columns:1fr .72fr; gap:2rem; }
  .guide-grid, .resource-grid { grid-template-columns:repeat(2,minmax(0,1fr)); }
  .privacy-grid { grid-template-columns:auto 1fr; }
  .privacy-point { padding-left:0; border-left:0; }
  .article-layout { grid-template-columns:minmax(0,1fr) 270px; }
}

@media (max-width: 820px) {
  :root { --header-h: 76px; }
  .wrap, .container { width:min(calc(100% - 1.6rem), var(--max)); }
  .brand img { width:210px; max-height:58px; }
  .library-hero-grid, .page-hero-grid, .article-layout, .collection-panel, .trust-panel, .footer-grid { grid-template-columns:1fr; }
  .library-hero { padding-top:3rem; }
  .hero-art { min-height:320px; }
  .hero-art img { width:min(48%,210px); }
  .page-hero img { justify-self:start; width:180px; }
  .article { padding:1.25rem; }
  .sidebar { position:static; grid-template-columns:repeat(2,minmax(0,1fr)); }
  .sidebar .side-card:last-child { grid-column:1 / -1; }
  .privacy-grid { grid-template-columns:auto 1fr; }
  .footer-bottom { flex-direction:column; }
}

@media (max-width: 620px) {
  body { line-height:1.65; }
  .section { padding:3.4rem 0; }
  .header-inner { gap:.7rem; }
  .brand img { width:184px; }
  .guide-grid, .resource-grid, .two-col, .sidebar, .official-links { grid-template-columns:1fr; }
  .sidebar .side-card:last-child { grid-column:auto; }
  .privacy-grid { grid-template-columns:1fr; }
  .privacy-icon { width:40px; height:40px; }
  .privacy-point { padding-top:.75rem; border-top:1px solid var(--line); }
  .guide-card-media, .card-media { min-height:160px; }
  .page-hero { padding-top:3rem; }
  .page-hero img { width:145px; }
  .reviewed, .meta-row, .btn-row { align-items:stretch; }
  .btn-row .button, .btn-row .btn { width:100%; }
  .article { border-radius:1rem; }
  .rating-buttons { gap:.25rem; }
  .star { width:42px; height:42px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration:.001ms !important; animation-iteration-count:1 !important; scroll-behavior:auto !important; transition-duration:.001ms !important; }
}

@media print {
  :root { color-scheme:light; }
  body { color:#111; background:#fff; font-size:11pt; }
  body::before, body::after, .site-header, .site-footer, .footer, .sidebar, .rating, .breadcrumbs, .page-hero img { display:none !important; }
  .wrap, .container, .article-wrap { width:100%; max-width:none; }
  .section, .page-hero { padding:0; }
  .page-hero { border:0; margin-bottom:1rem; }
  .page-hero h1, .article h2, .article h3 { color:#111; }
  .page-hero p:not(.eyebrow), .article p, .article li, .lead { color:#222; }
  .eyebrow { color:#333; }
  .article-layout { display:block; }
  .article { padding:0; border:0; box-shadow:none; background:#fff; }
  .callout { color:#111; background:#f5f5f5; border-color:#777; }
  a { color:#000; text-decoration:underline; }
  .button { display:inline; padding:0; border:0; color:#000; background:none; box-shadow:none; }
}


/* Resources launch hardening — versioned to bypass stale Hostinger/browser cache */
.site-header .brand img {
  width: clamp(178px, 16vw, 235px);
  max-width: 235px;
  height: auto;
  max-height: 48px;
  object-fit: contain;
  object-position: left center;
}
.footer-brand img {
  width: min(100%, 245px);
  max-width: 245px;
  height: auto;
  max-height: 54px;
  object-fit: contain;
  object-position: left center;
}
.footer-grid--four { grid-template-columns: minmax(250px,1.25fr) repeat(3,minmax(150px,.72fr)); }
.quick-start-section { border-bottom: 1px solid rgba(116,150,196,.13); background: rgba(7,18,34,.34); }
.quick-resource-grid .resource-card { min-height: 255px; }
.quick-resource-grid .card-body { padding: 1.5rem; }
.quick-resource-grid .arrow-link { margin-top: auto; }
.mobile-group-title { padding:.9rem .75rem .35rem; color:var(--gold); font-size:.76rem; font-weight:900; letter-spacing:.14em; text-transform:uppercase; }
.mobile-action-bar { display:none; }
@media (max-width: 1160px) {
  .desktop-nav, .header-cta { display:none; }
  .mobile-toggle { display:flex; }
  .footer-grid--four { grid-template-columns:repeat(2,minmax(0,1fr)); }
}
@media (max-width: 820px) {
  .footer-grid--four { grid-template-columns:1fr; }
}
@media (max-width: 620px) {
  body { padding-bottom: 76px; }
  .site-header .brand img { width: 175px; max-height: 42px; }
  .mobile-action-bar {
    position:fixed;
    left:0; right:0; bottom:0;
    z-index:250;
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:.65rem;
    padding:.7rem max(.8rem, env(safe-area-inset-left)) calc(.7rem + env(safe-area-inset-bottom)) max(.8rem, env(safe-area-inset-right));
    border-top:1px solid var(--line-strong);
    background:rgba(4,10,22,.96);
    backdrop-filter:blur(18px);
    box-shadow:0 -12px 36px rgba(0,0,0,.3);
  }
  .mobile-action-bar .button { width:100%; min-height:46px; padding:.65rem .75rem; }
}


/* Navigation and section-heading refinement — v2 */
.section-head > .eyebrow {
  display: flex;
  width: fit-content;
  margin-bottom: .8rem;
}
.section-head > .heading {
  display: block;
  width: fit-content;
  clear: both;
}
.section-head.center > .eyebrow { margin-inline: auto; }
@media (max-width: 620px) {
  .section-head > .heading { max-width: 100%; }
}

/* =========================================================
   DiverseTek polished resource visual motion — 2026-07-21
   Subtle movement only; respects reduced-motion preferences.
========================================================= */
img[src$="identity-protection-polished.webp"],
img[src$="password-security-polished.webp"],
img[src$="wi-fi-power-polished.webp"],
img[src$="people-search-polished.webp"] {
  display:block;
  border-radius:clamp(18px, 10%, 34px);
  transform-origin:50% 52%;
  will-change:transform, filter;
  backface-visibility:hidden;
  filter:drop-shadow(0 16px 28px rgba(0,0,0,.28));
}

img[src$="identity-protection-polished.webp"] {
  animation:dtVisualFloat 7.2s ease-in-out infinite, dtVisualGlow 4.6s ease-in-out infinite alternate;
}
img[src$="password-security-polished.webp"] {
  animation:dtVisualTilt 8.4s ease-in-out -1.1s infinite, dtVisualGlow 5.2s ease-in-out -1.8s infinite alternate;
}
img[src$="wi-fi-power-polished.webp"] {
  animation:dtVisualPulse 6.8s ease-in-out -2.2s infinite, dtVisualGlow 4.9s ease-in-out -1.1s infinite alternate;
}
img[src$="people-search-polished.webp"] {
  animation:dtVisualSearch 8s ease-in-out -3.2s infinite, dtVisualGlow 5.5s ease-in-out -2.4s infinite alternate;
}

.hero-art img[src$="identity-protection-polished.webp"] {
  width:min(76%, 350px);
  max-height:350px;
}
.guide-card-media img[src$="identity-protection-polished.webp"],
.guide-card-media img[src$="password-security-polished.webp"],
.guide-card-media img[src$="wi-fi-power-polished.webp"],
.guide-card-media img[src$="people-search-polished.webp"],
.card-media img[src$="identity-protection-polished.webp"],
.card-media img[src$="password-security-polished.webp"],
.card-media img[src$="wi-fi-power-polished.webp"],
.card-media img[src$="people-search-polished.webp"] {
  width:min(100%, 164px);
  max-height:164px;
}
.page-hero img[src$="identity-protection-polished.webp"],
.page-hero img[src$="password-security-polished.webp"],
.page-hero img[src$="wi-fi-power-polished.webp"],
.page-hero img[src$="people-search-polished.webp"] {
  width:min(100%, 260px);
  max-height:260px;
}
.collection-visual img[src$="identity-protection-polished.webp"],
.collection-visual img[src$="password-security-polished.webp"],
.collection-visual img[src$="wi-fi-power-polished.webp"],
.collection-visual img[src$="people-search-polished.webp"] {
  width:min(76%, 270px);
  max-height:270px;
}

.hero-orbit-dot.one { animation:dtDotDriftOne 7s ease-in-out infinite; }
.hero-orbit-dot.two { animation:dtDotDriftTwo 8.2s ease-in-out -2.2s infinite; }
.hero-orbit-dot.three { animation:dtDotDriftThree 7.6s ease-in-out -4.1s infinite; }

@keyframes dtVisualFloat {
  0%,100% { transform:translate3d(0,0,0) rotate(0deg) scale(1); }
  50% { transform:translate3d(0,-8px,0) rotate(.45deg) scale(1.012); }
}
@keyframes dtVisualTilt {
  0%,100% { transform:translate3d(0,0,0) rotate(-.35deg) scale(1); }
  50% { transform:translate3d(0,-6px,0) rotate(.55deg) scale(1.01); }
}
@keyframes dtVisualPulse {
  0%,100% { transform:translate3d(0,0,0) scale(1); }
  50% { transform:translate3d(0,-5px,0) scale(1.022); }
}
@keyframes dtVisualSearch {
  0%,100% { transform:translate3d(-1px,0,0) rotate(-.25deg) scale(1); }
  50% { transform:translate3d(3px,-7px,0) rotate(.35deg) scale(1.014); }
}
@keyframes dtVisualGlow {
  from { filter:drop-shadow(0 14px 25px rgba(0,0,0,.26)) brightness(.98); }
  to { filter:drop-shadow(0 20px 34px rgba(22,188,229,.18)) brightness(1.045); }
}
@keyframes dtDotDriftOne {
  0%,100% { transform:translate(0,0) scale(1); }
  50% { transform:translate(7px,-5px) scale(1.12); }
}
@keyframes dtDotDriftTwo {
  0%,100% { transform:translate(0,0) scale(1); }
  50% { transform:translate(-6px,7px) scale(.92); }
}
@keyframes dtDotDriftThree {
  0%,100% { transform:translate(0,0) scale(1); }
  50% { transform:translate(8px,5px) scale(1.08); }
}

@media (max-width:600px) {
  .hero-art img[src$="identity-protection-polished.webp"] { width:min(72%, 245px); }
  .guide-card-media img[src$="identity-protection-polished.webp"],
  .guide-card-media img[src$="password-security-polished.webp"],
  .guide-card-media img[src$="wi-fi-power-polished.webp"],
  .guide-card-media img[src$="people-search-polished.webp"] { width:min(100%, 150px); max-height:150px; }
}

@media (prefers-reduced-motion:reduce) {
  img[src$="identity-protection-polished.webp"],
  img[src$="password-security-polished.webp"],
  img[src$="wi-fi-power-polished.webp"],
  img[src$="people-search-polished.webp"],
  .hero-orbit-dot { animation:none !important; transform:none !important; }
}


/* =========================================================
   Final polished visual set — 2026-07-21
   Applies the approved illustrations sitewide and keeps
   motion subtle, accessible, and topic-specific.
========================================================= */
img[src$="identity-protection-polished-20260721.webp"],
img[src$="phishing-scams-polished-20260721.webp"],
img[src$="device-updates-polished-20260721.webp"],
img[src$="home-router-security-polished-20260721.webp"],
img[src$="notification-privacy-polished-20260721.webp"] {
  display:block;
  border-radius:clamp(18px, 10%, 34px);
  transform-origin:50% 52%;
  will-change:transform, filter;
  backface-visibility:hidden;
  filter:drop-shadow(0 16px 28px rgba(0,0,0,.28));
}

img[src$="identity-protection-polished-20260721.webp"] {
  animation:dtVisualFloat 7.2s ease-in-out infinite, dtVisualGlow 4.6s ease-in-out infinite alternate;
}
img[src$="phishing-scams-polished-20260721.webp"] {
  animation:dtVisualTilt 8.1s ease-in-out -1.4s infinite, dtVisualGlow 5s ease-in-out -1.2s infinite alternate;
}
img[src$="device-updates-polished-20260721.webp"] {
  animation:dtVisualPulse 7s ease-in-out -2s infinite, dtVisualGlow 5.2s ease-in-out -1.7s infinite alternate;
}
img[src$="home-router-security-polished-20260721.webp"] {
  animation:dtVisualFloat 7.6s ease-in-out -2.6s infinite, dtVisualGlow 5.1s ease-in-out -2s infinite alternate;
}
img[src$="notification-privacy-polished-20260721.webp"] {
  animation:dtVisualTilt 8.6s ease-in-out -3.2s infinite, dtVisualGlow 5.4s ease-in-out -2.5s infinite alternate;
}

.hero-art img[src$="identity-protection-polished-20260721.webp"] {
  width:min(76%, 350px);
  max-height:350px;
}
.guide-card-media img[src$="identity-protection-polished-20260721.webp"],
.guide-card-media img[src$="phishing-scams-polished-20260721.webp"],
.guide-card-media img[src$="device-updates-polished-20260721.webp"],
.guide-card-media img[src$="home-router-security-polished-20260721.webp"],
.guide-card-media img[src$="notification-privacy-polished-20260721.webp"],
.card-media img[src$="identity-protection-polished-20260721.webp"],
.card-media img[src$="phishing-scams-polished-20260721.webp"],
.card-media img[src$="device-updates-polished-20260721.webp"],
.card-media img[src$="home-router-security-polished-20260721.webp"],
.card-media img[src$="notification-privacy-polished-20260721.webp"] {
  width:min(100%, 164px);
  max-height:164px;
  object-fit:cover;
}
.page-hero img[src$="identity-protection-polished-20260721.webp"],
.page-hero img[src$="phishing-scams-polished-20260721.webp"],
.page-hero img[src$="device-updates-polished-20260721.webp"],
.page-hero img[src$="home-router-security-polished-20260721.webp"],
.page-hero img[src$="notification-privacy-polished-20260721.webp"] {
  width:min(100%, 260px);
  max-height:260px;
  object-fit:cover;
}
.collection-visual img[src$="identity-protection-polished-20260721.webp"],
.collection-visual img[src$="phishing-scams-polished-20260721.webp"],
.collection-visual img[src$="device-updates-polished-20260721.webp"],
.collection-visual img[src$="home-router-security-polished-20260721.webp"],
.collection-visual img[src$="notification-privacy-polished-20260721.webp"] {
  width:min(76%, 270px);
  max-height:270px;
  object-fit:cover;
}

@media (max-width:600px) {
  .hero-art img[src$="identity-protection-polished-20260721.webp"] { width:min(72%, 245px); }
  .guide-card-media img[src$="identity-protection-polished-20260721.webp"],
  .guide-card-media img[src$="phishing-scams-polished-20260721.webp"],
  .guide-card-media img[src$="device-updates-polished-20260721.webp"],
  .guide-card-media img[src$="home-router-security-polished-20260721.webp"],
  .guide-card-media img[src$="notification-privacy-polished-20260721.webp"] {
    width:min(100%, 150px);
    max-height:150px;
  }
}

@media (prefers-reduced-motion:reduce) {
  img[src$="identity-protection-polished-20260721.webp"],
  img[src$="phishing-scams-polished-20260721.webp"],
  img[src$="device-updates-polished-20260721.webp"],
  img[src$="home-router-security-polished-20260721.webp"],
  img[src$="notification-privacy-polished-20260721.webp"] {
    animation:none !important;
    transform:none !important;
  }
}

/* Hero cleanup: the approved artwork already contains its own orbit and card. */
.library-hero .hero-art {
  border:0;
  overflow:visible;
  background:transparent;
  box-shadow:none;
}
.library-hero .hero-art::before,
.library-hero .hero-art::after,
.library-hero .hero-orbit-dot {
  display:none;
}

/* =========================================================
   DiverseTek Resources — repeating cinematic scroll motion
   2026-08-19
   Matches the main DiverseTek site:
   - repeats every time content re-enters the viewport
   - same motion scrolling down or back up
   - left/right entrance based on screen position
   - smooth, deliberate ~1 second timing
   - cinematic hover lift without changing layout dimensions/colors
========================================================= */

/* Scroll reveal */
.dt-reveal {
  opacity: 0;
  filter: blur(5px);
  will-change: transform, opacity, filter;
  transition:
    opacity 1.02s cubic-bezier(.22,.68,0,1),
    transform 1.12s cubic-bezier(.16,1,.3,1),
    filter 1.02s cubic-bezier(.22,.68,0,1);
  transition-delay: var(--dt-reveal-delay, 0ms);
}

.dt-reveal.dt-from-left {
  transform: translate3d(-86px,0,0) scale(.975);
}

.dt-reveal.dt-from-right {
  transform: translate3d(86px,0,0) scale(.975);
}

.dt-reveal.dt-visible {
  opacity: 1;
  filter: blur(0);
  transform: translate3d(0,0,0) scale(1);
}

/* Cinematic hover depth */
.resource-card,
.guide-card,
.trust-panel,
.article,
.privacy-point {
  transform-origin: center center;
  will-change: transform;
}

.dt-reveal.dt-visible.resource-card:hover,
.resource-card:hover,
.dt-reveal.dt-visible.guide-card:hover,
.guide-card:hover {
  transform: translateY(-8px) scale(1.032);
  box-shadow: 0 30px 72px rgba(0,0,0,.46);
  z-index: 4;
}

.dt-reveal.dt-visible.trust-panel:hover,
.trust-panel:hover,
.dt-reveal.dt-visible.article:hover,
.article:hover {
  transform: translateY(-5px) scale(1.012);
  box-shadow: 0 30px 72px rgba(0,0,0,.40);
}

.dt-reveal.dt-visible.privacy-point:hover,
.privacy-point:hover {
  transform: translateY(-3px) scale(1.018);
}

/* Use a shorter travel distance on phones without changing the feel. */
@media (max-width: 820px) {
  .dt-reveal.dt-from-left {
    transform: translate3d(-48px,0,0) scale(.982);
  }

  .dt-reveal.dt-from-right {
    transform: translate3d(48px,0,0) scale(.982);
  }

  .dt-reveal.dt-visible {
    transform: translate3d(0,0,0) scale(1);
  }
}

/* Accessibility */
@media (prefers-reduced-motion: reduce) {
  .dt-reveal,
  .dt-reveal.dt-from-left,
  .dt-reveal.dt-from-right,
  .dt-reveal.dt-visible {
    opacity: 1 !important;
    filter: none !important;
    transform: none !important;
    transition: none !important;
  }

  .resource-card:hover,
  .guide-card:hover,
  .trust-panel:hover,
  .article:hover,
  .privacy-point:hover {
    transform: none !important;
  }
}

/* =========================================================
   DiverseTek Resources — visual consistency pass
   2026-08-19
   Matches the approved main-site design language:
   - hero/page-hero: colored eyebrow + white headline
   - interior sections: white eyebrow + solid-color headline/underline
   - solid CTA buttons (no rainbow/gradient buttons)
   - rotating solid card-title/tag colors
   - no layout or typography-size changes
========================================================= */

:root {
  --blue-deep: #2863e9;
}

/* ---------- Solid CTA system ---------- */
.header-cta,
.button-primary,
.btn-primary,
.mobile-action-bar .button-primary {
  background: var(--orange);
  color: #07101f;
  border-color: var(--orange);
  box-shadow: 0 14px 32px rgba(255,101,24,.20);
}

.header-cta:hover,
.button-primary:hover,
.btn-primary:hover,
.mobile-action-bar .button-primary:hover {
  background: #e9570f;
  color: #07101f;
  border-color: #e9570f;
  box-shadow: 0 18px 38px rgba(255,101,24,.28);
}

.button-orange {
  background: var(--orange);
  color: #07101f;
  border-color: var(--orange);
}

/* Keep secondary actions dark/outlined instead of introducing gradients. */
.button-outline,
.button-secondary,
.btn-secondary {
  background: rgba(6,15,29,.55);
  color: #f3f7ff;
}

/* ---------- Preserve the favorite hero hierarchy ---------- */
/* Hero/page hero intentionally stays:
   colored eyebrow + white main headline. */
.library-hero .eyebrow,
.page-hero .eyebrow {
  color: var(--gold);
}

.library-hero .eyebrow::before,
.page-hero .eyebrow::before {
  background: var(--gold);
}

.library-hero h1,
.page-hero h1 {
  color: var(--ink);
}

/* ---------- Interior section color rhythm ---------- */
#quick-start { --section-accent: var(--orange); }
#guides { --section-accent: var(--blue); }
main > section.section:not(#quick-start):not(#guides) { --section-accent: var(--purple); }

/* White eyebrow + solid-color heading, matching the main site. */
.section-head > .eyebrow {
  color: #f3f7ff;
}

.section-head > .eyebrow::before {
  background: #f3f7ff;
}

.section-head > .heading {
  color: var(--section-accent, var(--blue));
}

.section-head > .heading::after {
  background: var(--section-accent, var(--blue));
}

/* The "How These Guides Are Built" panel follows the same interior treatment. */
.trust-panel .eyebrow {
  color: #f3f7ff;
}

.trust-panel .eyebrow::before {
  background: #f3f7ff;
}

.trust-panel h2 {
  color: var(--purple);
}

/* ---------- Card personality ---------- */
/* Quick-start cards */
.quick-resource-grid .resource-card:nth-child(4n + 1) { --card-accent: var(--blue); }
.quick-resource-grid .resource-card:nth-child(4n + 2) { --card-accent: var(--gold); }
.quick-resource-grid .resource-card:nth-child(4n + 3) { --card-accent: var(--purple); }
.quick-resource-grid .resource-card:nth-child(4n + 4) { --card-accent: var(--orange); }

/* Guide library cards */
.guide-grid .guide-card:nth-child(4n + 1) { --card-accent: var(--blue); }
.guide-grid .guide-card:nth-child(4n + 2) { --card-accent: var(--gold); }
.guide-grid .guide-card:nth-child(4n + 3) { --card-accent: var(--purple); }
.guide-grid .guide-card:nth-child(4n + 4) { --card-accent: var(--orange); }

.quick-resource-grid .resource-card h3,
.guide-grid .guide-card h3 {
  color: var(--card-accent, var(--blue));
}

/* Give the category pill the same solid accent instead of leaving it gray. */
.quick-resource-grid .resource-card .tag,
.guide-grid .guide-card .tag {
  color: var(--card-accent, var(--blue));
  border-color: currentColor;
  background: rgba(255,255,255,.025);
}

/* ---------- About / Privacy article rhythm ---------- */
/* Their page heroes remain colored-eyebrow + white-headline.
   Interior article headings rotate through solid brand colors. */
.article h2:nth-of-type(4n + 1) { color: var(--blue); }
.article h2:nth-of-type(4n + 2) { color: var(--gold); }
.article h2:nth-of-type(4n + 3) { color: var(--purple); }
.article h2:nth-of-type(4n + 4) { color: var(--orange); }

/* Avoid a generic gradient accent line anywhere the shared .heading class appears. */
.heading::after {
  background: var(--section-accent, var(--blue));
}
