/* Nuclear Blocker product page — landing-sized, same tokens as g-lyncx-dynamic / g-blog. */

.blocker-page {
  position: relative;
  max-width: 720px;
  margin: 0 auto;
  padding: clamp(48px, 10vh, 96px) clamp(20px, 4vw, 56px) 88px;
  display: flex;
  flex-direction: column;
  gap: clamp(52px, 9vh, 88px);
}

/* Soft sage wash behind the hero — Modoi accent family, not a flat paper slab. */
.blocker-page::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: min(58vh, 460px);
  margin: 0 calc(-1 * clamp(20px, 4vw, 56px));
  background:
    radial-gradient(ellipse 95% 75% at 8% -5%, rgba(143, 175, 169, 0.42), transparent 55%),
    radial-gradient(ellipse 80% 60% at 92% 5%, rgba(183, 205, 201, 0.55), transparent 50%),
    linear-gradient(180deg, #e4ece9 0%, rgba(250, 248, 245, 0.35) 55%, rgba(250, 248, 245, 0) 100%);
  pointer-events: none;
  z-index: -1;
}

.blocker-hero {
  position: relative;
  padding-bottom: clamp(12px, 2.5vh, 20px);
  animation: blocker-rise 0.7s var(--ease) both;
}

.blocker-hero h1 {
  margin: 0;
  font-size: clamp(2.6rem, 7vw, 4.2rem);
  letter-spacing: -0.03em;
  max-width: none;
  color: var(--ink);
}

/* Brand lockup: the product mark sits with the wordmark, not above it. */
.blocker-lockup {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px clamp(14px, 1.8vw, 22px);
}

.blocker-mark {
  display: block;
  flex: none;
  width: clamp(46px, 6.4vw, 74px);
  height: clamp(46px, 6.4vw, 74px);
  filter: drop-shadow(0 5px 14px rgba(150, 82, 92, 0.24));
}

.blocker-hero .lede {
  margin-top: 20px;
  max-width: 42ch;
  font-size: 18px;
  line-height: 1.55;
  color: var(--ink-2);
}

.blocker-hero .cta {
  margin-top: 32px;
  gap: 14px;
}

.blocker-hero .cta .btn-dark {
  box-shadow: 0 1px 0 rgba(44, 46, 50, 0.06);
}

.blocker-hero .cta .btn-dark:hover {
  box-shadow: 0 8px 24px rgba(44, 46, 50, 0.26);
}

.blog-nav-links a[aria-current="page"],
.foot-links a[aria-current="page"] {
  color: var(--ink);
}

@keyframes blocker-rise {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (prefers-reduced-motion: reduce) {
  .blocker-hero {
    animation: none;
  }
}

@media (max-width: 560px) {
  .blocker-page {
    padding-top: 40px;
  }
  .blocker-hero h1 {
    font-size: 2.35rem;
  }
  /* Stack the mark over the wordmark so neither can crowd the other. */
  .blocker-lockup {
    display: block;
  }
  .blocker-mark {
    margin-bottom: 12px;
  }
}

/* ==================================================================
   Infographic — four device mockups and six icon rows.
   Built from inline HTML, CSS, and SVG: no raster assets, no icon
   fonts, no brand logos. Every device is a real window: chrome,
   chrome, toggle, list rows, and a dark blocked page.
   ================================================================== */

/* Icon sprite. Holds the symbols; takes no space of its own. */
.blocker-defs {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}

.blocker-showcase {
  display: flex;
  flex-direction: column;
  gap: clamp(26px, 4vh, 42px);
}

/*
  The device spread is wider than the 720px reading column, so it grows
  past it: 92vw at most, shifted left by exactly the amount it grows.
  Both edges land on the same inset, which keeps it centred without
  pushing the page sideways.
*/
.blocker-showcase-wide {
  width: min(1140px, 92vw);
  margin-left: calc(50% - min(570px, 46vw));
  container-type: inline-size;
}

/* ---------- shared device shell ---------- */

/*
  Devices are sized in ems against a stage font-size, so the whole
  composition scales as one piece: bezels, chrome, and text keep their
  proportions at every width.
*/
.blocker-stage {
  position: relative;
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  align-items: end;
  gap: 22px 16px;
  max-width: 720px;
  font-size: 12.5px;
  color: var(--ink);
}

/* Narrow screens: the spread becomes a shelf of devices. */
.dv-laptop { grid-column: 1 / -1; }
.dv-tablet { grid-column: 1 / 2; }
.dv-phone { grid-column: 2 / 3; }
.dv-panel { grid-column: 1 / -1; }

.dv-window,
.dv-screen {
  position: relative;
  overflow: hidden;
}

.dv-lights {
  display: flex;
  gap: 0.34em;
}
.dv-lights i {
  width: 0.5em;
  height: 0.5em;
  border-radius: 50%;
  background: #d4d2cc;
}
.dv-lights i:nth-child(1) { background: #eda393; }
.dv-lights i:nth-child(2) { background: #ecc987; }
.dv-lights i:nth-child(3) { background: #a5cba1; }

.dv-ico {
  display: block;
  flex: none;
  width: 0.86em;
  height: 0.86em;
}

/* Back and forward arrows: border corners, so they scale with the em. */
.dv-chev {
  flex: none;
  width: 0.42em;
  height: 0.42em;
  margin-left: 0.1em;
  border-left: 0.11em solid rgba(44, 46, 50, 0.4);
  border-bottom: 0.11em solid rgba(44, 46, 50, 0.4);
  transform: rotate(45deg);
}
.dv-chev.is-fwd {
  margin: 0 0.1em 0 0;
  transform: rotate(-135deg);
}

.dv-field {
  display: flex;
  flex: 1;
  align-items: center;
  gap: 0.36em;
  min-width: 0;
  padding: 0.32em 0.55em;
  border: 1px solid rgba(28, 30, 34, 0.1);
  border-radius: 0.5em;
  background: #fdfcfa;
  box-shadow: inset 0 0.06em 0.1em rgba(28, 30, 34, 0.05);
  font-size: 0.76em;
  line-height: 1.2;
  color: var(--ink-2);
  white-space: nowrap;
  overflow: hidden;
}
.dv-field .dv-ico { color: var(--ink-3); }

/* ---------- blocked page: what every browser shows ---------- */

.dv-block {
  display: flex;
  flex: 1;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.42em;
  min-height: 0;
  padding: 1.1em 1.2em;
  text-align: center;
  color: #f6f4f0;
  background:
    radial-gradient(120% 78% at 50% -8%, rgba(143, 175, 169, 0.2), transparent 62%),
    linear-gradient(168deg, #262a2f 0%, #171a1e 100%);
}

/* The product mark itself: the rose disc with the white trefoil. */
.dv-mark {
  display: block;
  flex: none;
  width: 2.85em;
  height: 2.85em;
  filter: drop-shadow(0 0.3em 0.45em rgba(0, 0, 0, 0.42));
}

.dv-block-h {
  margin: 0.4em 0 0;
  font-size: 1.06em;
  font-weight: 600;
  letter-spacing: -0.01em;
  line-height: 1.25;
}

.dv-block-p {
  margin: 0;
  font-family: var(--mono);
  font-size: 0.7em;
  letter-spacing: 0.02em;
  color: rgba(246, 244, 240, 0.6);
}

.dv-tag {
  padding: 0.34em 0.7em;
  border: 1px solid rgba(183, 205, 201, 0.26);
  border-radius: 0.3em;
  font-family: var(--mono);
  font-size: 0.62em;
  letter-spacing: 0.05em;
  color: rgba(214, 230, 226, 0.92);
}

.dv-credit {
  display: inline-flex;
  align-items: center;
  gap: 0.4em;
  margin-top: 0.3em;
  padding: 0.42em 0.8em;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 0.42em;
  background: rgba(255, 255, 255, 0.07);
  font-size: 0.66em;
  font-weight: 600;
  color: #eae7e1;
}
.dv-credit svg {
  display: block;
  width: 0.95em;
  height: 0.95em;
  color: #b7cdc9;
}

/* ---------- laptop ---------- */

.dv-lid {
  position: relative;
  display: flex;
  aspect-ratio: 1.6;
  padding: 0.6em;
  border-radius: 1em 1em 0.42em 0.42em;
  background: linear-gradient(166deg, #45484e 0%, #292c30 58%, #1c1e22 100%);
  box-shadow:
    0 30px 56px -32px rgba(24, 26, 30, 0.62),
    0 2px 5px rgba(24, 26, 30, 0.16),
    inset 0 0.06em 0 rgba(255, 255, 255, 0.16),
    inset 0 0 0 1px rgba(255, 255, 255, 0.07);
}

.dv-cam {
  position: absolute;
  top: 0.2em;
  left: 50%;
  width: 0.26em;
  height: 0.26em;
  border-radius: 50%;
  background: #0c0e10;
  box-shadow: inset 0 0 0 0.05em rgba(255, 255, 255, 0.16);
  transform: translateX(-50%);
}

.dv-base {
  position: relative;
  width: 106%;
  height: 0.8em;
  margin-left: -3%;
  border-radius: 0 0 0.55em 0.55em / 0 0 0.9em 0.9em;
  background: linear-gradient(180deg, #dedcd6 0%, #c6c4be 46%, #a8a6a0 100%);
  box-shadow:
    0 14px 22px -16px rgba(24, 26, 30, 0.5),
    inset 0 1px 0 rgba(255, 255, 255, 0.75);
}
.dv-base::after {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  width: 13%;
  height: 0.26em;
  border-radius: 0 0 0.3em 0.3em;
  background: rgba(28, 30, 34, 0.2);
  transform: translateX(-50%);
}

.dv-lid .dv-window {
  display: flex;
  flex: 1;
  flex-direction: column;
  border-radius: 0.42em;
  background: #fbfaf8;
}

.dv-chrome {
  display: flex;
  align-items: center;
  gap: 0.5em;
  padding: 0.42em 0.55em 0.3em;
  border-bottom: 1px solid rgba(28, 30, 34, 0.08);
  background: linear-gradient(180deg, #efede9, #e5e3de);
}

.dv-tabs {
  display: flex;
  flex: 1;
  gap: 0.25em;
  min-width: 0;
}

.dv-tab {
  max-width: 8.5em;
  padding: 0.45em 0.85em;
  border-radius: 0.5em 0.5em 0 0;
  background: rgba(255, 255, 255, 0.34);
  font-size: 0.68em;
  line-height: 1.1;
  color: rgba(44, 46, 50, 0.58);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.dv-tab.is-on {
  background: #fbfaf8;
  color: var(--ink);
}

.dv-bar {
  display: flex;
  align-items: center;
  gap: 0.5em;
  padding: 0.34em 0.55em 0.44em;
  background: #f4f2ee;
}

/* ---------- tablet and phone frames ---------- */

.dv-frame {
  position: relative;
  display: flex;
  padding: 0.55em;
  border-radius: 1.5em;
  background: linear-gradient(152deg, #484b51 0%, #26282c 58%, #191b1f 100%);
  box-shadow:
    0 28px 50px -28px rgba(24, 26, 30, 0.58),
    0 2px 5px rgba(24, 26, 30, 0.16),
    inset 0 0.06em 0 rgba(255, 255, 255, 0.16),
    inset 0 0 0 1px rgba(255, 255, 255, 0.07);
}
.dv-frame .dv-screen {
  display: flex;
  flex: 1;
  flex-direction: column;
  border-radius: 1.05em;
  background: #171a1e;
}
.dv-frame.is-tablet {
  padding: 0.7em;
  border-radius: 1.15em;
}
.dv-frame.is-tablet .dv-screen { border-radius: 0.6em; }

.dv-tablet { aspect-ratio: 268 / 356; }
.dv-phone { aspect-ratio: 155 / 330; }

.dv-mbar,
.dv-pbar {
  display: flex;
  align-items: center;
  gap: 0.5em;
  padding: 0.5em 0.6em;
  border-bottom: 1px solid rgba(28, 30, 34, 0.08);
  background: linear-gradient(180deg, #f1efeb, #e7e5e0);
}
.dv-pbar {
  padding-bottom: 1.15em;
  border-bottom: 0;
  border-top: 1px solid rgba(28, 30, 34, 0.1);
  background: linear-gradient(180deg, #eeece7, #e2e0db);
}

.dv-island {
  position: absolute;
  top: 0.5em;
  left: 50%;
  z-index: 2;
  width: 2.6em;
  height: 0.72em;
  border-radius: 0.4em;
  background: #05070a;
  transform: translateX(-50%);
}

.dv-home {
  position: absolute;
  bottom: 0.42em;
  left: 50%;
  z-index: 3;
  width: 34%;
  height: 0.18em;
  border-radius: 0.2em;
  background: rgba(28, 30, 34, 0.28);
  transform: translateX(-50%);
}

.dv-phone .dv-mark {
  width: 2.35em;
  height: 2.35em;
}
.dv-phone .dv-block-h { font-size: 0.94em; }
.dv-phone .dv-block { padding: 1.6em 0.8em 0.9em; }
.dv-phone .dv-credit { font-size: 0.6em; }

/* ---------- Mac app window ---------- */

.dv-window.is-mac {
  display: flex;
  flex-direction: column;
  border: 1px solid rgba(28, 30, 34, 0.14);
  border-radius: 0.62em;
  background: #fdfcfa;
  box-shadow:
    0 26px 46px -28px rgba(24, 26, 30, 0.5),
    0 2px 5px rgba(24, 26, 30, 0.12);
}

.dv-titlebar {
  display: flex;
  align-items: center;
  gap: 0.5em;
  padding: 0.5em 0.62em;
  border-bottom: 1px solid rgba(28, 30, 34, 0.1);
  background: linear-gradient(180deg, #f4f2ee, #eae8e3);
}

.dv-app {
  display: flex;
  flex: 1;
  align-items: center;
  justify-content: center;
  gap: 0.42em;
  min-width: 0;
}
.dv-appmark {
  flex: none;
  width: 1.15em;
  height: 1.15em;
}
.dv-title {
  flex: none;
  font-size: 0.72em;
  font-weight: 600;
  color: rgba(44, 46, 50, 0.72);
  white-space: nowrap;
}
.dv-titlebar-end {
  flex: none;
  width: 2.18em; /* balances the traffic lights so the title sits centred */
}

.dv-body {
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: 0.6em;
  min-height: 0;
  padding: 0.85em 0.95em 0.8em;
}

.dv-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.8em;
}
.dv-row-txt { min-width: 0; }
.dv-row-h {
  margin: 0;
  font-size: 0.92em;
  font-weight: 650;
  letter-spacing: -0.01em;
}
.dv-row-s {
  margin: 0.2em 0 0;
  font-size: 0.68em;
  color: var(--ink-3);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.dv-switch {
  position: relative;
  flex: none;
  width: 2.1em;
  height: 1.22em;
  border-radius: 999px;
  background: #d6d4cf;
  box-shadow: inset 0 0.06em 0.14em rgba(28, 30, 34, 0.18);
}
.dv-switch::after {
  content: "";
  position: absolute;
  top: 0.13em;
  left: 0.13em;
  width: 0.96em;
  height: 0.96em;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 0.08em 0.18em rgba(28, 30, 34, 0.28);
}
.dv-switch.is-on {
  background: linear-gradient(180deg, #6e9b97, #4a7774);
}
.dv-switch.is-on::after { left: auto; right: 0.13em; }

.dv-sep {
  height: 1px;
  background: rgba(28, 30, 34, 0.1);
}

.dv-cap {
  font-family: var(--mono);
  font-size: 0.6em;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-3);
}

.dv-list {
  display: grid;
  gap: 0;
  margin: 0;
  padding: 0;
  list-style: none;
}
.dv-list li {
  padding: 0.55em 0;
  border-bottom: 1px solid rgba(28, 30, 34, 0.07);
  font-family: var(--mono);
  font-size: 0.72em;
  color: var(--ink-2);
}
.dv-list li:last-child { border-bottom: 0; }

.dv-more {
  font-size: 0.68em;
  color: var(--ink-3);
}

/* ---------- icon rows ---------- */

.blocker-points {
  display: grid;
  gap: 20px 26px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.blocker-points li {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: start;
  gap: 0 14px;
}

.blocker-points .pt-ico {
  grid-row: span 2;
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border: 1px solid rgba(74, 119, 116, 0.22);
  border-radius: 50%;
  background: rgba(143, 175, 169, 0.16);
  color: var(--accent-ink);
}
.blocker-points .pt-ico svg {
  display: block;
  width: 18px;
  height: 18px;
}

.blocker-points h3 {
  margin: 5px 0 0;
  font-size: 15.5px;
  font-weight: 650;
  letter-spacing: -0.015em;
  color: var(--ink);
}
.blocker-points p {
  margin: 3px 0 0;
  font-size: 14.5px;
  line-height: 1.45;
  color: var(--ink-2);
}

/* ---------- wide screens: one composed spread ---------- */

@media (min-width: 800px) {
  .blocker-stage {
    display: block;
    max-width: none;
    height: 36em;
    /* vw is the fallback; cqw tracks the stage itself where supported. */
    font-size: clamp(9px, 1.16vw, 13.2px);
    font-size: clamp(9px, 1.16cqw, 13.2px);
  }

  .dv { position: absolute; }

  .dv-laptop {
    left: 8%;
    top: 3.3em;
    width: 45%;
  }
  .dv-tablet {
    left: 46%;
    top: 2.3em;
    z-index: 3;
    width: 23%;
  }
  .dv-phone {
    left: 0.4%;
    top: 11em;
    z-index: 4;
    width: 13.6%;
  }
  .dv-panel {
    left: 70.5%;
    top: 7em;
    z-index: 2;
    width: 29.5%;
  }
}

@media (min-width: 620px) {
  .blocker-points { grid-template-columns: 1fr 1fr; }
}

/* ---------- phones ---------- */

@media (prefers-reduced-motion: reduce) {
  .blocker-showcase,
  .blocker-points li {
    animation: none;
  }
}
