/* ============================================================
   Mars Market Safety Lab — design system
   A friendly "practice lab" identity: soft rounded geometry,
   warm lavender palette, Fraunces display + Instrument Sans.
   ============================================================ */

:root {
  /* palette */
  --paper: #fcfbfe;
  --ink: #231a36;
  --muted: #6f6680;
  --violet: #6c51c9;
  --violet-dark: #3d2b6e;
  --violet-deep: #2a1a4e;
  --lilac: #ede7fa;
  --lavender: #f5f2fc;
  --peach: #f7ebdf;
  --mint: #e1f0e5;
  --line: #e8e2f1;
  --amber: #a8642c;
  --amber-soft: #f8eee2;
  --green: #4f7d5f;

  /* type */
  --font-display: "Fraunces", Georgia, "Times New Roman", serif;
  --font-body: "Instrument Sans", "Segoe UI", system-ui, sans-serif;

  /* motion */
  --e-out: cubic-bezier(.16, 1, .3, 1);
  --e-soft: cubic-bezier(.45, 0, .15, 1);
  --t-1: .16s;
  --t-2: .28s;
  --t-3: .62s;
  --t-4: 1s;

  /* shape */
  --r-sm: 10px;
  --r-md: 16px;
  --r-lg: 24px;
  --r-pill: 999px;

  color-scheme: light;
  font-family: var(--font-body);
  font-size: 17px;
  color: var(--ink);
  background: var(--paper);
  font-synthesis: none;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 110px; }
body { margin: 0; min-width: 320px; background: var(--paper); }
a { color: inherit; text-decoration: none; }
button { color: inherit; font: inherit; }
h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 { font-family: var(--font-display); font-weight: 500; }

.page-width { width: min(1220px, calc(100% - 56px)); margin-inline: auto; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }

.skip-link {
  position: fixed; z-index: 50; top: 14px; left: 14px;
  padding: 14px 20px; border-radius: var(--r-sm);
  color: #fff; background: var(--violet-deep);
  transform: translateY(-160%); transition: transform var(--t-2) var(--e-out);
}
.skip-link:focus { transform: translateY(0); }
:focus-visible { outline: 3px solid #9b79eb; outline-offset: 4px; border-radius: 4px; }
::selection { color: #fff; background: var(--violet); }

/* ---------- eyebrow / labels ---------- */
.eyebrow {
  display: flex; align-items: center; gap: 10px;
  margin: 0 0 20px;
  color: var(--violet);
  font-size: 14px; font-weight: 600; letter-spacing: .01em;
}
.eyebrow-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--violet);
  box-shadow: 0 0 0 5px #efe9fb;
}

/* ---------- buttons & links ---------- */
.button {
  display: inline-flex; align-items: center; justify-content: center; gap: 12px;
  min-height: 54px; padding: 0 26px;
  border: 1px solid transparent; border-radius: var(--r-pill);
  font-size: 15px; font-weight: 600;
  transition: transform var(--t-1) var(--e-out), background var(--t-1) ease,
              border-color var(--t-1) ease, box-shadow var(--t-1) ease;
}
.button:hover { transform: translateY(-3px); }
.button:active { transform: translateY(-1px); }
.button span { transition: transform var(--t-2) var(--e-out); }
.button:hover span { transform: translate(3px, -2px); }
.button-dark { color: #fff; background: var(--violet-deep); box-shadow: 0 10px 24px -10px rgba(42, 26, 78, .5); }
.button-dark:hover { background: var(--violet); box-shadow: 0 14px 30px -10px rgba(108, 81, 201, .55); }
.button-small { min-height: 44px; padding-inline: 20px; font-size: 14px; }
.button-outline { border-color: #cfc4e4; color: var(--violet-deep); background: transparent; }
.button-outline:hover { border-color: var(--violet); background: var(--lavender); }

.text-link {
  display: inline-flex; align-items: center; gap: 9px;
  color: var(--violet-dark); font-size: 15px; font-weight: 700;
}
.text-link span { transition: transform var(--t-2) var(--e-out); }
.text-link:hover span { transform: translate(4px, -2px); }

/* ---------- header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 40;
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
  width: 100%; min-height: 78px;
  padding-inline: max(24px, calc((100% - 1300px) / 2));
  border-bottom: 1px solid var(--line);
  background: var(--paper);
  background: color-mix(in srgb, var(--paper) 86%, transparent);
  backdrop-filter: blur(16px) saturate(1.5);
  -webkit-backdrop-filter: blur(16px) saturate(1.5);
  transition: background var(--t-2) ease, box-shadow var(--t-2) ease;
}
.site-header.is-scrolled {
  background: color-mix(in srgb, var(--paper) 94%, transparent);
  box-shadow: 0 14px 38px -22px rgba(48, 29, 79, .28);
}
@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  .site-header, .site-header.is-scrolled { background: var(--paper); }
}
.brand {
  display: inline-flex; align-items: center; gap: 12px;
  font-size: 17px; font-weight: 700; letter-spacing: -.02em; white-space: nowrap;
}
.brand-logo {
  display: block; width: auto; height: 30px;
  transition: transform var(--t-2) var(--e-out);
}
.brand:hover .brand-logo { transform: scale(1.05); }
.brand-sub {
  padding-left: 14px; border-left: 1px solid var(--line);
  font-family: var(--font-display); font-size: 17px; font-weight: 500;
  letter-spacing: -.01em; color: var(--violet-dark); white-space: nowrap;
  transition: color var(--t-1) ease;
}
.brand:hover .brand-sub { color: var(--violet); }

.site-nav { display: flex; align-items: center; gap: clamp(24px, 3vw, 44px); margin-left: 3vw; }
.site-nav a {
  position: relative; padding: 10px 0;
  color: #625b6e; font-size: 15px; font-weight: 500;
  transition: color var(--t-1) ease;
}
.site-nav a::after {
  position: absolute; right: 0; bottom: 2px; left: 0; height: 2px;
  border-radius: 2px; background: var(--violet); content: "";
  transform: scaleX(0); transform-origin: left;
  transition: transform var(--t-2) var(--e-out);
}
.site-nav a:hover, .site-nav a.current { color: var(--violet-deep); }
.site-nav a:hover::after { transform: scaleX(1); }
.site-nav a.current { font-weight: 600; }
.site-nav a.current::after { transform: scaleX(1); }
.menu-toggle { display: none; }

/* ---------- hero ---------- */
.hero {
  display: grid; grid-template-columns: 1.1fr .9fr;
  min-height: 0; align-items: start; gap: 56px;
  padding-top: 64px; padding-bottom: 80px;
}
.hero-copy { position: relative; z-index: 1; padding-block: 10px; }
.hero-copy > * { animation: hero-rise var(--t-3) var(--e-out) both; }
.hero-copy > *:nth-child(2) { animation-delay: .08s; }
.hero-copy > *:nth-child(3) { animation-delay: .16s; }
.hero-copy > *:nth-child(4) { animation-delay: .24s; }
.hero-copy > *:nth-child(5) { animation-delay: .32s; }

h1 {
  max-width: 640px; margin-bottom: 26px;
  font-size: clamp(52px, 6vw, 82px);
  letter-spacing: -.035em; line-height: 1.01;
}
h1 span { color: var(--violet); }
.hero-lede { max-width: 520px; margin-bottom: 34px; color: var(--muted); font-size: 18px; line-height: 1.75; }
.hero-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 26px; }

.hero-proof { display: flex; align-items: center; gap: 14px; margin-top: 46px; }
.proof-icon {
  display: grid; place-items: center;
  width: 34px; height: 34px;
  border: 1px solid #d8ccef; border-radius: 50%;
  color: var(--violet); font-size: 16px;
}
.hero-proof p { margin: 0; color: #827c8c; font-size: 14px; line-height: 1.55; }
.hero-proof strong { color: var(--ink); font-size: 15px; }

/* ---------- link panel (replaces hero-art) ---------- */
.link-panel {
  display: flex; flex-direction: column; gap: 18px;
  padding: 32px 30px 26px;
  border: 1px solid #e3ddec; border-radius: var(--r-lg);
  background: #fff;
  box-shadow: 0 20px 56px -18px rgba(48, 29, 79, .14);
  align-self: center;
}
.link-panel-head {
  display: flex; align-items: center; justify-content: space-between;
}
.link-panel-badge {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 12px; border-radius: var(--r-pill);
  background: var(--lavender);
  color: #685a8a; font-size: 11px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase;
}
.lp-dot {
  width: 7px; height: 7px; border-radius: 50%; background: #4f9e6b;
  animation: pulse-dot 2s ease-out infinite;
}
.link-panel-updated { font-size: 12px; color: #9991a0; }

.link-panel-address {
  display: flex; align-items: center; gap: 10px;
  padding: 15px 16px;
  border: 1px solid #e8e4ed; border-radius: var(--r-sm);
  background: #faf8fd;
}
.lp-lock { color: #957cbe; font-size: 17px; }
.lp-url {
  flex: 1; overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
  color: #2a1a4e; font-size: 14px; font-weight: 600;
  font-family: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
}
.lp-status {
  flex-shrink: 0; display: inline-flex; align-items: center; gap: 6px;
  font-size: 12px; font-weight: 600;
}

.link-panel-warn {
  display: flex; gap: 12px; align-items: flex-start;
  padding: 16px 18px;
  border: 1px solid #f0dfc9; border-radius: var(--r-sm);
  background: var(--amber-soft);
}
.lp-warn-icon {
  display: grid; flex: 0 0 24px; place-items: center;
  width: 24px; height: 24px; border-radius: 50%;
  color: #946b3d; background: #f0dfc9;
  font-family: var(--font-display); font-weight: 600; font-size: 13px;
}
.link-panel-warn p {
  margin: 0; color: #786b5c; font-size: 13px; line-height: 1.7;
}
.lp-warn-link {
  color: #7a4e22; font-weight: 600; text-decoration: underline; text-decoration-color: rgba(122, 78, 34, .4);
  transition: text-decoration-color var(--t-1) ease;
}
.lp-warn-link:hover { text-decoration-color: #7a4e22; }

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

.lp-disclaimer {
  margin: 0; text-align: center;
  color: #9992a0; font-size: 12px; line-height: 1.6;
}

/* ---------- page-nav (on-page anchor links) ---------- */
.page-nav {
  display: flex; align-items: center; flex-wrap: wrap; gap: 8px;
  margin-top: 34px; padding: 16px 18px;
  border: 1px solid #e3ddec; border-radius: var(--r-md);
  background: #fff;
  box-shadow: 0 2px 12px -6px rgba(42, 26, 78, .10);
}
.page-nav-label {
  color: #908998; font-size: 11px; font-weight: 700; letter-spacing: .08em;
  text-transform: uppercase; margin-right: 6px; white-space: nowrap;
  padding-right: 12px;
  border-right: 1px solid var(--line);
}
.page-nav a {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 7px 14px; border-radius: var(--r-pill);
  background: var(--lavender);
  color: var(--violet-dark); font-size: 13px; font-weight: 600;
  transition: background var(--t-1) ease, color var(--t-1) ease,
              transform var(--t-1) var(--e-out), box-shadow var(--t-1) ease;
}
.page-nav a svg { opacity: .7; transition: opacity var(--t-1) ease; }
.page-nav a:hover {
  background: var(--violet); color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 6px 16px -6px rgba(108, 81, 201, .45);
}
.page-nav a:hover svg { opacity: 1; stroke: #fff; }

/* keep simulator-badge still used on the practice section */
.simulator-badge {
  display: inline-flex; align-items: center; gap: 8px;
  color: #796a96; font-size: 11px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase;
}

/* ---------- trust strip ---------- */
.trust-strip { border-block: 1px solid var(--line); background: #fff; }
.trust-inner { display: flex; align-items: center; justify-content: space-between; min-height: 78px; gap: 30px; }
.trust-inner > span, .footer-links > span {
  color: #908998; font-size: 12px; font-weight: 700; letter-spacing: .12em;
}
.trust-inner p {
  display: flex; align-items: center; gap: clamp(18px, 3vw, 44px);
  margin: 0; color: #655d70; font-size: 14px;
}
.trust-inner i { width: 5px; height: 5px; border-radius: 50%; background: #ae98d2; }

/* ---------- sections ---------- */
.section { padding-top: 130px; padding-bottom: 132px; }
.section-heading {
  display: flex; align-items: end; justify-content: space-between;
  gap: 48px; margin-bottom: 52px;
}
.section-heading .eyebrow { margin-bottom: 16px; }
h2 {
  margin-bottom: 0;
  font-size: clamp(38px, 4.4vw, 56px);
  letter-spacing: -.03em; line-height: 1.06;
}
.section-intro { max-width: 400px; margin: 0 1% 6px 0; color: var(--muted); font-size: 16px; line-height: 1.8; }

/* ---------- lesson cards ---------- */
.lesson-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.lesson-card {
  position: relative; display: flex; min-height: 360px;
  flex-direction: column; align-items: flex-start;
  padding: 34px 32px 30px;
  border: 1px solid rgba(45, 29, 69, .06); border-radius: var(--r-lg);
  transition: transform var(--t-2) var(--e-out), box-shadow var(--t-2) var(--e-out);
}
.lesson-card:hover { transform: translateY(-8px); box-shadow: 0 26px 55px -18px rgba(48, 29, 79, .18); }
.lesson-lilac { background: #f0ebf9; }
.lesson-peach { background: #f7efe8; }
.lesson-mint { background: #eaf3ec; }
.lesson-sky { background: #e9f0f7; }
.card-icon {
  display: grid; place-items: center;
  width: 60px; height: 60px; margin-bottom: 28px;
  border-radius: 50%; background: rgba(255,255,255,.78);
  transition: transform var(--t-2) var(--e-out);
}
.lesson-card:hover .card-icon { transform: scale(1.08) rotate(-5deg); }
.card-icon svg { width: 36px; height: 36px; fill: none; stroke: #7659b2; stroke-linecap: round; stroke-linejoin: round; stroke-width: 1.7; }
.icon-orbit svg { stroke: #bc805b; }
.icon-orbit .orbit-dot { fill: #bc805b; stroke: #fff; }
.icon-shield svg { stroke: #5d896a; }
.icon-layers svg { stroke: #5b7fa6; }
.card-kicker { margin-bottom: 13px; color: #817491; font-size: 12px; font-weight: 700; letter-spacing: .1em; }
.lesson-card h3 { margin-bottom: 12px; font-size: 28px; letter-spacing: -.02em; line-height: 1.14; }
.lesson-card p { max-width: 320px; margin-bottom: 26px; color: #6f6a75; font-size: 15px; line-height: 1.75; }
.card-link {
  display: flex; align-items: center; gap: 9px; margin-top: auto;
  color: var(--violet-dark); font-size: 14px; font-weight: 700;
}
.card-link b { font-size: 17px; transition: transform var(--t-2) var(--e-out); }
.lesson-card:hover .card-link b { transform: translate(3px, -3px); }

/* ---------- practice / simulator ---------- */
.practice-section { padding-block: 120px; color: #fff; background: var(--violet-deep); }
.practice-layout { display: grid; grid-template-columns: 1fr .9fr; align-items: center; gap: 10%; }
.practice-copy .eyebrow { color: #c9b8ea; }
.practice-copy .eyebrow-dot { background: #b79de8; box-shadow: 0 0 0 5px rgba(183, 157, 232, .18); }
.practice-copy h2 { margin-bottom: 22px; color: #fff; }
.practice-copy > p:not(.eyebrow) { max-width: 480px; margin-bottom: 32px; color: #cfc7de; font-size: 16px; line-height: 1.8; }
.practice-copy code { color: #f1eaff; }
.practice-list { display: grid; gap: 18px; margin: 0; padding: 0; list-style: none; }
.practice-list li { display: flex; align-items: center; gap: 15px; color: #e0d9eb; font-size: 15px; }
.practice-list span {
  font-family: var(--font-display);
  color: #bb9fe8; font-size: 15px; font-weight: 600;
}

.simulator {
  padding: 30px; border-radius: var(--r-lg);
  color: var(--ink); background: #fff;
  box-shadow: 0 30px 80px -24px rgba(12, 5, 24, .4);
}
.simulator-heading { display: flex; align-items: center; justify-content: space-between; margin-bottom: 24px; }
.simulator-badge { color: #68558c; }
.simulator-badge span { width: 8px; height: 8px; border-radius: 50%; background: #9578c8; animation: pulse-dot 2s ease-out infinite; }
.simulator-id { color: #a49cab; font-size: 12px; font-weight: 600; letter-spacing: .08em; }
.simulator-domain {
  display: flex; align-items: center; gap: 13px;
  padding: 16px 15px; border: 1px solid #e8e4ed; border-radius: var(--r-sm);
  color: #3b3545; font-size: 15px; font-weight: 600;
}
.domain-mark { color: #8a70bb; font-size: 19px; }
.simulator-prompt { margin: 24px 0 12px; color: #827b8d; font-size: 14px; }
.choice-button {
  display: flex; width: 100%; justify-content: space-between; align-items: center;
  margin-top: 10px; padding: 16px 17px;
  border: 1px solid #eae6ef; border-radius: var(--r-sm);
  background: #fff; text-align: left; font-size: 15px; cursor: pointer;
  transition: border-color var(--t-1) ease, background var(--t-1) ease, transform var(--t-1) var(--e-out);
}
.choice-button:hover { border-color: #ac97d1; background: #f8f5fc; transform: translateX(4px); }
.choice-button.choice-selected { border-color: var(--violet); background: #f3eefb; }
.choice-button span { color: #8d78b6; transition: transform var(--t-1) var(--e-out); }
.choice-button:hover span { transform: translate(2px, -2px); }
.simulator-feedback { min-height: 44px; margin: 15px 0 0; color: #675485; font-size: 14px; line-height: 1.6; }
.simulator-feedback.fb-in { animation: fb-in .45s var(--e-out) both; }
.simulator-disclaimer { margin: 8px 0 0; padding-top: 15px; border-top: 1px solid #f0edf3; color: #9992a0; font-size: 12px; }

/* ---------- closing ---------- */
.closing { display: flex; align-items: center; gap: 32px; padding-top: 90px; padding-bottom: 90px; }
.closing-mark {
  display: grid; flex: 0 0 68px; place-items: center;
  width: 68px; height: 68px; border-radius: 50%;
  color: #7355b2; background: var(--lavender); font-size: 30px;
  transition: transform var(--t-2) var(--e-out);
}
.closing:hover .closing-mark { transform: rotate(20deg); }
.closing .eyebrow { margin-bottom: 10px; }
.closing h2 { font-size: clamp(30px, 3.4vw, 42px); }
.closing .button { margin-left: auto; }

/* ---------- footer ---------- */
.site-footer { border-top: 1px solid var(--line); background: #f7f5fa; }
.footer-main { display: grid; grid-template-columns: 1.2fr .7fr 1fr; gap: 9%; padding-top: 56px; padding-bottom: 48px; }
.footer-brand { font-size: 16px; }
.footer-brand .brand-logo { height: 26px; }
.footer-brand .brand-sub { font-size: 15px; }
.footer-brand-block > p { max-width: 300px; margin: 18px 0 0; color: #817b89; font-size: 14px; line-height: 1.7; }
.footer-links { display: grid; justify-items: start; gap: 13px; }
.footer-links > span { margin-bottom: 6px; }
.footer-links a { color: #625b6b; font-size: 14px; transition: color var(--t-1) ease; }
.footer-links a:hover { color: var(--violet); }
.footer-note {
  display: flex; align-items: flex-start; gap: 14px;
  padding: 20px; border: 1px solid #e8e1f0; border-radius: var(--r-md);
  background: #fcfbfd;
}
.footer-note-icon {
  display: grid; flex: 0 0 26px; place-items: center;
  width: 26px; height: 26px; border-radius: 50%;
  color: #7558ae; background: #eee8f7;
  font-family: var(--font-display); font-size: 15px; font-weight: 600;
}
.footer-note p { margin: 0; color: #77717f; font-size: 13px; line-height: 1.7; }
.footer-note b { color: var(--violet-deep); }
.footer-bottom {
  display: flex; justify-content: space-between; gap: 20px;
  padding-block: 22px; border-top: 1px solid #e8e4eb;
  color: #928c99; font-size: 13px;
}

/* ---------- article pages ---------- */
.article-hero { padding-top: 40px; padding-bottom: 64px; }
.breadcrumbs { display: flex; gap: 11px; margin-bottom: 56px; color: #8d8794; font-size: 14px; }
.breadcrumbs a { transition: color var(--t-1) ease; }
.breadcrumbs a:hover { color: var(--violet); }
.article-hero .eyebrow { margin-bottom: 20px; }
.article-hero h1 { max-width: 880px; font-size: clamp(48px, 6.4vw, 80px); line-height: 1.02; }
.article-intro { max-width: 720px; margin: 24px 0 22px; color: var(--muted); font-size: 18px; line-height: 1.8; }
.article-meta { display: flex; align-items: center; gap: 12px; color: #77717e; font-size: 14px; }
.meta-icon {
  display: grid; place-items: center;
  width: 22px; height: 22px; border-radius: 50%;
  color: #6e55a1; background: #eee8f7; font-size: 13px;
}
.meta-rule { width: 1px; height: 16px; margin-inline: 8px; background: #ded9e4; }

.article-layout {
  display: grid; grid-template-columns: minmax(0, 800px) 280px;
  align-items: start; gap: 80px;
  padding-top: 40px; padding-bottom: 110px;
  border-top: 1px solid var(--line);
}
.article-body { min-width: 0; }

.answer-box {
  padding: 26px 30px;
  border-left: 4px solid #8e70c5; border-radius: 0 var(--r-md) var(--r-md) 0;
  background: #f2eef8;
}
.answer-box strong { color: #473064; font-family: var(--font-display); font-size: 20px; font-weight: 600; }
.answer-box p { margin: 10px 0 0; color: #625b6c; font-size: 15px; line-height: 1.8; }

.content-section { padding-top: 56px; }
.content-section > .eyebrow { margin-bottom: 14px; font-size: 13px; }
.content-section h2, .faq-section h2 { margin-bottom: 20px; font-size: 36px; }
.content-section > p:not(.eyebrow) { color: #696371; font-size: 16px; line-height: 1.9; }

.example-url {
  display: grid; gap: 12px; margin: 24px 0; padding: 22px;
  border: 1px solid #e7e1ee; border-radius: var(--r-md); background: #fff;
}
.example-label { color: #8e819f; font-size: 12px; font-weight: 700; letter-spacing: .1em; }
.example-url code {
  overflow-wrap: anywhere;
  color: #49356d; font-size: 16px;
  font-family: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
}
.example-caption { color: #898390; font-size: 13px; }
.example-caption b { color: #6b558e; }

.callout { display: flex; gap: 15px; margin: 26px 0; padding: 22px; border-radius: var(--r-md); }
.callout-warn { background: var(--amber-soft); border: 1px solid #f0dfc9; }
.callout-info { background: var(--lavender); border: 1px solid #dfd6f2; }
.callout-symbol {
  display: grid; flex: 0 0 28px; place-items: center;
  width: 28px; height: 28px; border-radius: 50%;
  color: #946b3d; background: #f0dfc9;
  font-family: var(--font-display); font-weight: 600;
}
.callout-info .callout-symbol { color: var(--violet-dark); background: #e2d8f7; }
.callout b { color: #5d4833; font-size: 15px; }
.callout-info b { color: var(--violet-deep); }
.callout p { margin: 7px 0 0; color: #786b5c; font-size: 14px; line-height: 1.75; }
.callout-info p { color: #5f5670; }

.privacy-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 26px; }
.privacy-grid > div {
  padding: 20px 18px;
  border: 1px solid #eae6ef; border-radius: var(--r-md); background: #fff;
  transition: transform var(--t-2) var(--e-out), box-shadow var(--t-2) ease;
}
.privacy-grid > div:hover { transform: translateY(-4px); box-shadow: 0 14px 30px -12px rgba(48, 29, 79, .12); }
.privacy-icon {
  display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%;
  color: #866ab5; background: #efe9fa;
  font-size: 13px; font-weight: 700;
}
.privacy-grid h3 { margin: 14px 0 7px; font-size: 20px; }
.privacy-grid p { margin: 0; color: #817b87; font-size: 13px; line-height: 1.65; }

/* faq */
.faq-section { padding-top: 56px; }
.faq-section > .eyebrow { margin-bottom: 14px; }
.faq-section details { border-top: 1px solid var(--line); }
.faq-section details:last-child { border-bottom: 1px solid var(--line); }
.faq-section summary {
  position: relative; padding: 22px 40px 22px 0;
  color: #322742; font-size: 16px; font-weight: 600;
  list-style: none; cursor: pointer;
  transition: color var(--t-1) ease;
}
.faq-section summary:hover { color: var(--violet); }
.faq-section summary::-webkit-details-marker { display: none; }
.faq-section summary::after {
  position: absolute; right: 4px; top: 50%;
  color: #7759b5; content: "+"; font-size: 26px; font-weight: 300;
  transform: translateY(-50%);
  transition: transform var(--t-2) var(--e-out);
}
.faq-section details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq-section details p { max-width: 700px; margin: -4px 0 20px; color: #706a77; font-size: 15px; line-height: 1.8; }

/* aside */
.article-aside { position: sticky; top: 110px; }
.aside-card { padding: 26px; border: 1px solid #e9e3f0; border-radius: var(--r-lg); background: #f5f1fa; }
.aside-burst { color: #8264bb; font-size: 26px; }
.aside-card .eyebrow { margin: 18px 0 12px; font-size: 13px; }
.aside-card h3 { margin-bottom: 12px; font-size: 25px; line-height: 1.15; }
.aside-card > p:not(.eyebrow) { color: #746e7b; font-size: 14px; line-height: 1.75; }
.aside-card .text-link { font-size: 14px; }
.aside-nav { display: grid; gap: 15px; margin-top: 30px; }
.aside-nav > span { margin-bottom: 4px; color: #928b99; font-size: 12px; font-weight: 700; letter-spacing: .1em; }
.aside-nav a { color: #726a7c; font-size: 14px; transition: color var(--t-1) ease, padding-left var(--t-2) var(--e-out); }
.aside-nav a:hover { color: var(--violet); padding-left: 6px; }

/* ---------- about page ---------- */
.values-section { padding-block: 110px; background: #f6f3fa; }
.values-section .section-heading { margin-bottom: 42px; }
.values-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.value-card {
  min-height: 280px; padding: 32px;
  border: 1px solid #ebe6f1; border-radius: var(--r-lg); background: #fff;
  transition: transform var(--t-2) var(--e-out), box-shadow var(--t-2) ease;
}
.value-card:hover { transform: translateY(-6px); box-shadow: 0 20px 45px -16px rgba(48, 29, 79, .14); }
.value-symbol { display: grid; place-items: center; width: 50px; height: 50px; border-radius: 50%; font-size: 25px; }
.value-purple { color: #7657b5; background: #eee8f7; }
.value-yellow { color: #a67a37; background: #f7efdf; }
.value-green { color: #578364; background: #e9f1eb; }
.value-card h3 { margin: 24px 0 9px; font-size: 26px; }
.value-card p { margin: 0; color: #746e7b; font-size: 14px; line-height: 1.8; }

.split-panel {
  display: grid; grid-template-columns: .85fr 1fr;
  min-height: 400px; overflow: hidden;
  border: 1px solid #e9e3f0; border-radius: var(--r-lg); background: #fff;
}
.split-art {
  position: relative; display: grid; min-height: 380px; place-items: center;
  overflow: hidden; background: #eee8f7;
}
.shield-graphic {
  display: grid; place-items: center;
  width: 150px; height: 174px;
  border: 1px solid #a58acb;
  border-radius: 48% 48% 45% 45% / 14% 14% 63% 63%;
  color: #6d52a4; font-size: 54px;
  transform: rotate(5deg);
  animation: float-soft 7s ease-in-out infinite;
}
.shield-graphic::before {
  position: absolute; width: 110px; height: 134px;
  border: 1px solid rgba(109, 82, 164, .4); border-radius: inherit; content: "";
}
.split-spark { position: absolute; color: #886cbb; animation: twinkle 5s ease-in-out infinite; }
.split-spark-a { top: 22%; right: 25%; font-size: 30px; }
.split-spark-b { bottom: 20%; left: 22%; font-size: 25px; animation-delay: 2s; }
.split-copy { align-self: center; padding: 48px clamp(30px, 5vw, 80px); }
.split-copy .eyebrow { margin-bottom: 16px; }
.split-copy h2 { margin-bottom: 20px; font-size: 40px; }
.split-copy > p:not(.eyebrow) { margin-bottom: 24px; color: #726c79; font-size: 15px; line-height: 1.85; }
.split-copy .text-link { font-size: 15px; }
.faq-wide { max-width: 840px; padding-top: 0; }
.faq-wide > h2 { margin-bottom: 26px; }

/* ---------- risk table ---------- */
.risk-table-wrap {
  overflow-x: auto; margin: 24px 0;
  border: 1px solid #e9e5ed; border-radius: var(--r-md);
}
.risk-table { width: 100%; border-collapse: collapse; background: #fff; text-align: left; }
.risk-table caption {
  padding: 17px 20px; color: #655a75; background: #f4f0f8;
  font-size: 13px; font-weight: 700; text-align: left;
}
.risk-table th, .risk-table td { padding: 16px 20px; border-top: 1px solid #eeeaf1; font-size: 14px; line-height: 1.6; }
.risk-table th { color: #4e3c69; font-size: 12px; letter-spacing: .07em; text-transform: uppercase; }
.risk-table td { color: #706a77; }
.risk-table tbody tr { transition: background var(--t-1) ease; }
.risk-table tbody tr:hover { background: #faf8fd; }

/* ---------- scroll reveal ---------- */
.js .reveal {
  opacity: 0; transform: translateY(26px);
  transition: opacity .65s var(--e-out), transform .65s var(--e-out);
  transition-delay: var(--reveal-delay, 0ms);
}
.js .reveal.is-visible { opacity: 1; transform: translateY(0); }

/* ---------- keyframes ---------- */
@keyframes hero-rise {
  from { opacity: 0; transform: translateY(28px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes pulse-dot {
  0% { box-shadow: 0 0 0 0 rgba(155, 128, 203, .45); }
  70% { box-shadow: 0 0 0 9px rgba(155, 128, 203, 0); }
  100% { box-shadow: 0 0 0 0 rgba(155, 128, 203, 0); }
}
@keyframes float-soft {
  0%, 100% { transform: rotate(5deg) translateY(0); }
  50% { transform: rotate(5deg) translateY(-12px); }
}
@keyframes fb-in {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ---------- responsive ---------- */
@media (max-width: 480px) {
  .brand-sub { display: none; }
}
@media (max-width: 980px) {
  .site-header { padding-inline: 20px; }
  .site-nav { gap: 22px; margin-left: 0; }
  .header-cta { padding-inline: 15px; }
  .hero { grid-template-columns: 1fr .9fr; gap: 32px; }
  .link-panel { padding: 24px 22px 20px; }
  .trust-inner { align-items: flex-start; flex-direction: column; justify-content: center; gap: 12px; padding-block: 20px; }
  .trust-inner p { flex-wrap: wrap; }
  .article-layout { grid-template-columns: minmax(0, 1fr) 230px; gap: 44px; }
  .lesson-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 700px) {
  :root { font-size: 16px; }
  .page-width { width: calc(100% - 40px); }

  .site-header { min-height: 70px; padding-inline: 18px; }
  .brand { font-size: 15px; }
  .brand-logo { height: 24px; }
  .brand-sub { padding-left: 10px; font-size: 14px; }
  .menu-toggle {
    display: flex; width: 44px; height: 44px;
    flex-direction: column; align-items: center; justify-content: center; gap: 6px;
    margin-left: auto;
    border: 1px solid var(--line); border-radius: var(--r-sm); background: #fff;
    cursor: pointer;
  }
  .menu-toggle > span:not(.sr-only) {
    width: 18px; height: 2px; border-radius: 2px; background: var(--violet-deep);
    transition: transform var(--t-2) var(--e-out), opacity var(--t-1) ease;
  }
  .menu-toggle[aria-expanded="true"] > span:nth-child(2) { transform: translateY(4px) rotate(45deg); }
  .menu-toggle[aria-expanded="true"] > span:nth-child(3) { transform: translateY(-4px) rotate(-45deg); }
  .header-cta { display: none; }
  .site-nav {
    position: absolute; top: calc(100% + 10px); right: 12px; left: 12px;
    display: flex; align-items: stretch; flex-direction: column; gap: 0;
    padding: 10px 20px;
    border: 1px solid var(--line); border-radius: var(--r-md);
    background: #fff;
    box-shadow: 0 20px 40px -12px rgba(39, 25, 59, .14);
    opacity: 0; visibility: hidden; transform: translateY(-10px);
    transition: opacity var(--t-2) var(--e-out), transform var(--t-2) var(--e-out), visibility var(--t-2);
  }
  .site-nav.nav-open { opacity: 1; visibility: visible; transform: translateY(0); }
  .site-nav a { padding: 15px 0; font-size: 16px; }
  .site-nav a.current::after { right: auto; width: 34px; }

  .hero { grid-template-columns: 1fr; gap: 34px; padding-top: 48px; padding-bottom: 56px; }
  .hero-copy { padding: 0; }
  h1 { font-size: clamp(46px, 12vw, 60px); }
  .hero-lede { font-size: 17px; }
  .hero-actions { gap: 18px; }
  .button { min-height: 50px; padding-inline: 20px; font-size: 14px; }
  .link-panel { padding: 22px 20px 18px; }
  .page-nav { margin-top: 24px; padding: 12px 14px; gap: 6px; }
  .page-nav-label { display: none; }
  .page-nav a { padding: 6px 12px; font-size: 12px; }

  .trust-inner > span { font-size: 11px; }
  .trust-inner p { gap: 12px 18px; font-size: 13px; }

  .section { padding-top: 84px; padding-bottom: 86px; }
  .section-heading { align-items: flex-start; flex-direction: column; gap: 18px; margin-bottom: 34px; }
  h2 { font-size: clamp(34px, 9vw, 44px); }
  .section-intro { max-width: 520px; font-size: 15px; }
  .lesson-grid { grid-template-columns: 1fr; gap: 16px; }
  .lesson-card { min-height: 0; padding: 28px 26px; }
  .card-icon { margin-bottom: 20px; }

  .practice-section { padding-block: 80px; }
  .practice-layout { grid-template-columns: 1fr; gap: 38px; }
  .practice-copy h2 { font-size: clamp(34px, 9vw, 44px); }
  .simulator { padding: 22px; }

  .closing { align-items: flex-start; flex-wrap: wrap; gap: 18px; padding-block: 64px; }
  .closing-mark { flex-basis: 54px; width: 54px; height: 54px; font-size: 24px; }
  .closing > div:nth-child(2) { flex: 1; }
  .closing h2 { font-size: 30px; }
  .closing .button { margin-left: 72px; }

  .footer-main { grid-template-columns: 1fr 1fr; gap: 36px 24px; padding-top: 42px; padding-bottom: 36px; }
  .footer-brand-block { grid-column: 1 / -1; }
  .footer-note { align-self: start; padding: 16px; }
  .footer-bottom { flex-direction: column; gap: 8px; }

  .article-hero { padding-top: 30px; padding-bottom: 44px; }
  .breadcrumbs { margin-bottom: 42px; font-size: 13px; }
  .article-hero h1 { font-size: clamp(42px, 11vw, 58px); }
  .article-intro { font-size: 16px; }
  .article-layout { grid-template-columns: 1fr; gap: 40px; padding-top: 26px; padding-bottom: 80px; }
  .article-aside { position: static; grid-row: 1; }
  .aside-nav { display: none; }
  .aside-card { display: grid; grid-template-columns: 34px 1fr; column-gap: 14px; padding: 20px; }
  .aside-burst { grid-row: 1 / span 3; }
  .aside-card .eyebrow { margin: 3px 0 9px; }
  .aside-card h3 { font-size: 22px; }
  .aside-card > p:not(.eyebrow) { margin-bottom: 10px; }
  .aside-card .text-link { grid-column: 2; }

  .content-section { padding-top: 44px; }
  .content-section h2, .faq-section h2 { font-size: 30px; }
  .privacy-grid { grid-template-columns: 1fr; gap: 10px; }
  .privacy-grid > div { padding: 16px; }

  .values-section { padding-block: 74px; }
  .values-grid { grid-template-columns: 1fr; }
  .value-card { min-height: 0; padding: 26px; }
  .value-card h3 { margin-top: 16px; }
  .split-panel { grid-template-columns: 1fr; }
  .split-art { min-height: 260px; }
  .shield-graphic { width: 118px; height: 140px; font-size: 44px; }
  .split-copy { padding: 36px 28px; }
  .split-copy h2 { font-size: 33px; }
  .faq-wide { padding-bottom: 74px; }
}

/* ---------- security guide extras ---------- */
.answer-box--warning {
  border-left-color: #c0713a;
  background: #fdf3ec;
}
.answer-box--warning strong { color: #7a3e0f; }
.answer-box--warning p { color: #7a5535; }
.answer-box ul, .answer-box ol {
  margin: 10px 0 0;
  padding-left: 22px;
  color: #625b6c;
  font-size: 15px;
  line-height: 1.8;
}
.answer-box--warning ul, .answer-box--warning ol { color: #7a5535; }

.content-section h3 {
  margin: 32px 0 12px;
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 600;
  color: #2a1a4e;
}

.content-section ol,
.content-section ul:not(.checklist) {
  padding-left: 22px;
  margin: 16px 0;
  color: #696371;
  font-size: 16px;
  line-height: 1.9;
}
.content-section ol li,
.content-section ul:not(.checklist) li { margin-bottom: 8px; }

.checklist {
  list-style: none;
  padding: 0;
  margin: 20px 0;
}
.checklist li {
  position: relative;
  padding: 14px 16px 14px 48px;
  margin-bottom: 8px;
  background: #f8f6fc;
  border-radius: var(--r-sm);
  font-size: 15px;
  color: #505058;
  line-height: 1.75;
}
.checklist li::before {
  content: "✓";
  position: absolute;
  left: 16px;
  top: 14px;
  color: #8e70c5;
  font-weight: 700;
  font-size: 15px;
}
.checklist li strong { color: #2a1a4e; }

.content-section pre {
  background: #1a1228;
  border-radius: var(--r-sm);
  padding: 18px 22px;
  margin: 20px 0;
  overflow-x: auto;
}
.content-section pre code {
  font-family: "Courier New", Courier, monospace;
  font-size: 14px;
  color: #c9b8f0;
  background: none;
  padding: 0;
}
.content-section p code,
.content-section li code {
  font-family: "Courier New", Courier, monospace;
  font-size: 14px;
  background: #ede8f7;
  color: #45265a;
  padding: 2px 6px;
  border-radius: 4px;
}

/* ---------- mirror list ---------- */
.mirror-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-bottom: 28px;
}
.mirror-card {
  padding: 26px 28px;
  border: 1px solid #e4ddf0;
  border-radius: var(--r-lg);
  background: #fff;
  transition: transform var(--t-2) var(--e-out), box-shadow var(--t-2) ease;
}
.mirror-card:hover { transform: translateY(-4px); box-shadow: 0 16px 36px -12px rgba(48, 29, 79, .13); }
.mirror-card-head {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 18px;
}
.mirror-label { font-size: 11px; font-weight: 700; letter-spacing: .1em; color: #8a7fa0; }
.mirror-status { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 600; }
.status-active { color: #3a7a52; }
.status-active .status-dot { background: #4f9e6b; }
.status-checking { color: #a07a30; }
.status-checking .status-dot { background: #d4a03a; }
.status-down { color: #8c3a3a; }
.status-down .status-dot { background: #c04040; }
.status-dot {
  width: 8px; height: 8px; border-radius: 50%;
  animation: pulse-dot 2s ease-out infinite;
}
.mirror-address {
  display: flex; align-items: center; gap: 10px;
  padding: 13px 14px; margin-bottom: 14px;
  border: 1px solid #eae5f1; border-radius: var(--r-sm);
  background: #faf8fd;
}
.mirror-lock { color: #957cbe; font-size: 16px; }
.mirror-url { font-size: 13px; color: #3a2d52; font-weight: 600; word-break: break-all; }
.mirror-meta { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.mirror-pgp { font-size: 11px; font-weight: 700; letter-spacing: .07em; color: #7557b4; background: #eee8f8; padding: 4px 9px; border-radius: var(--r-pill); }
.mirror-date { font-size: 12px; color: #9991a0; }
.mirror-warning { margin-top: 4px; }
.mirror-cta { margin-top: 22px; }

/* ---------- what is layout ---------- */
.what-is-layout {
  display: grid; grid-template-columns: 1.1fr .9fr;
  align-items: start; gap: 72px;
}
.what-is-copy { padding-top: 8px; }
.what-is-copy h2 { margin-bottom: 22px; }
.what-is-copy p { color: #696371; font-size: 16px; line-height: 1.9; }
.stat-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 16px; padding-top: 10px;
}
.stat-card {
  display: flex; flex-direction: column; align-items: flex-start;
  padding: 26px 24px;
  border: 1px solid #e4ddf0; border-radius: var(--r-lg);
  background: #fff;
  transition: transform var(--t-2) var(--e-out);
}
.stat-card:hover { transform: translateY(-4px); }
.stat-number { font-family: var(--font-display); font-size: 40px; font-weight: 600; color: var(--violet-deep); letter-spacing: -.03em; line-height: 1; }
.stat-label { margin-top: 8px; font-size: 13px; color: #8a7f97; font-weight: 500; }

/* ---------- status strip ---------- */
.status-strip {
  padding: 36px 0 48px;
  border-top: 1px solid var(--line);
}
.status-strip-inner {
  display: grid; gap: 20px;
  padding: 28px 32px;
  border: 1px solid #e4ddf0; border-radius: var(--r-lg);
  background: #fff;
}
.status-label-group .eyebrow { margin-bottom: 6px; }
.status-last-checked { font-size: 13px; color: #9991a0; }
.status-indicators {
  display: flex; align-items: center; gap: 32px;
  flex-wrap: wrap;
}
.status-item { display: flex; align-items: center; gap: 9px; }
.status-dot-active { width: 9px; height: 9px; border-radius: 50%; background: #4f9e6b; display: inline-block; animation: pulse-dot 2s ease-out infinite; }
.status-dot-checking { width: 9px; height: 9px; border-radius: 50%; background: #d4a03a; display: inline-block; animation: pulse-dot 2.4s ease-out infinite; }
.status-dot-down { width: 9px; height: 9px; border-radius: 50%; background: #c04040; display: inline-block; }
.status-item-label { font-size: 14px; color: #6a6274; }
.status-item-state { font-size: 14px; color: var(--ink); }
.status-note { margin: 0; font-size: 13px; color: #82798f; line-height: 1.7; }

/* ---------- practice list (ordered) ---------- */
.practice-list {
  display: grid; gap: 20px; margin: 0; padding: 0; list-style: none;
}
.practice-list li {
  display: flex; align-items: flex-start; gap: 15px;
  color: #cfc7de; font-size: 15px; line-height: 1.75;
}
.practice-list li div { color: #e0d9eb; }
.practice-list li strong { color: #fff; display: block; margin-bottom: 4px; }
.practice-list span {
  font-family: var(--font-display);
  flex-shrink: 0;
  color: #bb9fe8; font-size: 15px; font-weight: 600;
  padding-top: 2px;
}

/* ---------- responsive: mirror grid ---------- */
@media (max-width: 980px) {
  .mirror-grid { grid-template-columns: 1fr; }
  .what-is-layout { grid-template-columns: 1fr; gap: 44px; }
  .stat-grid { grid-template-columns: repeat(2, 1fr); }
  .status-indicators { gap: 20px; }
}

@media (max-width: 700px) {
  .mirror-grid { grid-template-columns: 1fr; }
  .mirror-card { padding: 20px; }
  .what-is-layout { gap: 32px; }
  .stat-grid { grid-template-columns: 1fr 1fr; gap: 12px; }
  .stat-number { font-size: 32px; }
  .status-strip-inner { padding: 20px; }
  .status-indicators { flex-direction: column; gap: 12px; align-items: flex-start; }
}

/* ---------- link-panel inline mirror rows ---------- */
.lp-mirrors {
  display: flex; flex-direction: column; gap: 0;
  border: 1px solid #e8e4ed; border-radius: var(--r-sm);
  background: #faf8fd; overflow: hidden;
}
.lp-mirror-row {
  display: flex; align-items: center; gap: 8px;
  padding: 10px 14px;
  border-bottom: 1px solid #eeeaf2;
}
.lp-mirror-row:last-of-type { border-bottom: none; }
.lp-mirror-label {
  flex-shrink: 0; width: 70px;
  font-size: 10px; font-weight: 700; letter-spacing: .08em; color: #9991a0;
}
.lp-mirror-url {
  flex: 1; overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
  font-family: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
  font-size: 12px; color: #2a1a4e; font-weight: 600;
}
.lp-copy-btn {
  flex-shrink: 0;
  display: grid; place-items: center;
  width: 26px; height: 26px;
  border: 1px solid #ddd8ea; border-radius: 6px;
  background: #fff; color: #957cbe; cursor: pointer;
  transition: color var(--t-1) ease, border-color var(--t-1) ease,
              background var(--t-1) ease, transform var(--t-1) var(--e-out);
}
.lp-copy-btn:hover { color: var(--violet); border-color: var(--violet); background: var(--lavender); transform: scale(1.08); }
.lp-copy-btn.copied { color: #4f9e6b; border-color: #a8d8b8; background: #edf8f1; }
.lp-mirror-state {
  flex-shrink: 0; display: inline-flex; align-items: center; gap: 5px;
  font-size: 11px; font-weight: 600;
}
.lp-mirrors-note {
  margin: 0; padding: 8px 14px;
  border-top: 1px solid #eeeaf2;
  background: #f5f2fc;
  font-size: 11px; color: #9991a0; line-height: 1.5;
}

.link-panel-warn p { margin: 0; }
.link-panel-warn p strong { color: #5d4833; }

@media (max-width: 700px) {
  .lp-mirror-label { width: 58px; }
  .lp-mirror-url { font-size: 11px; }
  .lp-copy-btn { width: 24px; height: 24px; }
}

/* ---------- article figures, screenshots & app/tool logos ---------- */
.article-figure {
  margin: 26px 0 30px;
  border: 1px solid #ded7eb;
  border-radius: var(--r-md);
  background: #fff;
  overflow: hidden;
  box-shadow: 0 16px 40px -18px rgba(42, 26, 78, .14);
}
.article-figure img {
  display: block;
  width: 100%;
  height: auto;
  border-bottom: 1px solid #ece7f4;
}
.article-figure figcaption {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 13px 18px;
  background: #faf8fd;
  color: #655c75;
  font-size: 13px;
  line-height: 1.55;
}
.article-figure figcaption strong {
  color: var(--violet-deep);
  font-weight: 600;
}
.fig-tag {
  flex-shrink: 0;
  padding: 3px 9px;
  border-radius: var(--r-pill);
  background: var(--lilac);
  color: var(--violet-dark);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
}

/* App, OS & Crypto logo badges */
.tool-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 18px 0 24px;
}
.tool-chip {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 7px 13px 7px 9px;
  border: 1px solid #e3dced;
  border-radius: var(--r-pill);
  background: #fff;
  color: var(--ink);
  font-size: 13px;
  font-weight: 600;
  box-shadow: 0 4px 12px -6px rgba(42, 26, 78, .08);
}
.tool-chip img {
  width: 22px;
  height: 22px;
  border-radius: 6px;
  flex-shrink: 0;
}
.tool-chip span {
  color: var(--muted);
  font-weight: 500;
  font-size: 12px;
}

.entity-cell {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
  color: var(--ink);
}
.entity-cell img {
  width: 26px;
  height: 26px;
  border-radius: 7px;
  flex-shrink: 0;
}

/* 3-screen preview grid (verify page & access overview) */
.screen-preview-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin: 24px 0 26px;
}
.screen-preview-card {
  display: flex;
  flex-direction: column;
  border: 1px solid #e2dbed;
  border-radius: var(--r-md);
  background: #fff;
  overflow: hidden;
  transition: transform var(--t-2) var(--e-out), box-shadow var(--t-2) ease, border-color var(--t-1) ease;
}
.screen-preview-card:hover {
  transform: translateY(-4px);
  border-color: var(--violet);
  box-shadow: 0 16px 34px -14px rgba(42, 26, 78, .18);
}
.screen-preview-card img {
  width: 100%;
  height: 136px;
  object-fit: cover;
  object-position: top center;
  border-bottom: 1px solid #eee9f5;
}
.screen-preview-meta {
  padding: 12px 14px;
}
.screen-preview-step {
  display: block;
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--violet);
  margin-bottom: 4px;
}
.screen-preview-meta strong {
  display: block;
  font-size: 14px;
  color: var(--ink);
  margin-bottom: 3px;
}
.screen-preview-meta p {
  margin: 0;
  font-size: 12px;
  color: var(--muted);
  line-height: 1.45;
}

/* Vendor Tier Progression Cards (about page) */
.tier-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  margin: 24px 0;
}
.tier-card {
  padding: 18px 16px;
  border: 1px solid #e4ddf0;
  border-radius: var(--r-md);
  background: #fff;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.tier-card--commander {
  border-color: #b89ef0;
  background: linear-gradient(180deg, #faf7ff 0%, #f2ecfc 100%);
}
.tier-badge {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--violet);
}
.tier-icon {
  width: 32px;
  height: 32px;
  border-radius: 9px;
  background: var(--lavender);
  color: var(--violet-deep);
  display: grid;
  place-items: center;
  font-weight: 700;
  font-size: 15px;
}
.tier-card--commander .tier-icon {
  background: var(--violet-deep);
  color: #fff;
}
.tier-card h3 {
  margin: 4px 0 0;
  font-size: 19px;
  color: var(--ink);
}
.tier-card p {
  margin: 0;
  font-size: 12.5px;
  color: #6d6678;
  line-height: 1.55;
}

@media (max-width: 820px) {
  .screen-preview-grid { grid-template-columns: 1fr; }
  .screen-preview-card img { height: 180px; }
  .tier-grid { grid-template-columns: repeat(2, 1fr); }
  .article-figure figcaption { flex-direction: column; align-items: flex-start; gap: 6px; }
}
@media (max-width: 520px) {
  .tier-grid { grid-template-columns: 1fr; }
}

/* ---------- reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
  .js .reveal { opacity: 1; transform: none; }
  .hero-copy > * { animation: none; }
}
