/*
 * P1 marketing site
 * Concept: The Executive Briefing.
 */

:root {
  --black: #050505;
  --soft-black: #080807;
  --graphite: #0c0c0b;
  --panel: #10100f;
  --raised: #151412;
  --paper: #F7F4EF;
  --paper-raised: #fffdfa;
  --paper-warm: #f0ebe3;
  --ink: #080807;
  --ink-muted: rgba(8, 8, 7, 0.66);
  --ink-subtle: rgba(8, 8, 7, 0.46);
  --ink-faint: rgba(8, 8, 7, 0.28);
  --warm-border: rgba(8, 8, 7, 0.12);
  --warm-soft-border: rgba(8, 8, 7, 0.08);
  --ivory: var(--ink);
  --muted: var(--ink-muted);
  --subtle: var(--ink-subtle);
  --faint: var(--ink-faint);
  --border: var(--warm-border);
  --soft-border: var(--warm-soft-border);
  --gold: #b88a55;
  --gold-dim: rgba(184, 138, 85, 0.34);
  --cta-text: #080807;
  --drive: #b88a55;
  --sense: #6f8793;
  --align: #9a817e;
  --build: #7e9a82;
  --page: min(1210px, calc(100% - 56px));
  --brief-grid: minmax(152px, 0.24fr) minmax(0, 1fr);
  --editorial-measure: 760px;
  color-scheme: light;
}

* {
  box-sizing: border-box;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
  scroll-padding-top: 104px;
}

body {
  margin: 0;
  min-width: 320px;
  overflow-x: hidden;
  background:
    radial-gradient(circle at 52% -8%, rgba(184, 138, 85, 0.08), transparent 30rem),
    var(--paper);
  color: var(--ivory);
  font-family: ui-sans-serif, -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", "Segoe UI", sans-serif;
  line-height: 1.6;
  text-rendering: geometricPrecision;
}

body::before {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  content: "";
  background-image:
    linear-gradient(rgba(8, 8, 7, 0.018) 1px, transparent 1px),
    linear-gradient(90deg, rgba(8, 8, 7, 0.014) 1px, transparent 1px);
  background-size: 96px 96px;
  mask-image: linear-gradient(to bottom, #000 0, rgba(0, 0, 0, 0.32) 42rem, transparent 84%);
}

a {
  color: inherit;
  text-decoration: none;
}

a:focus-visible,
button:focus-visible {
  outline: 1px solid rgba(214, 168, 79, 0.82);
  outline-offset: 4px;
}

button {
  font: inherit;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2,
h3 {
  color: var(--ivory);
  font-weight: 570;
  letter-spacing: 0;
  overflow-wrap: break-word;
}

h1 {
  max-width: 930px;
  margin-bottom: 26px;
  font-size: clamp(4.7rem, 6.3vw, 5.75rem);
  line-height: 0.96;
}

h1 span {
  display: block;
}

h2 {
  max-width: 930px;
  margin-bottom: 28px;
  font-size: 4.1rem;
  line-height: 1.03;
}

h3 {
  margin-bottom: 0;
  font-size: 1.18rem;
  line-height: 1.25;
}

p {
  color: var(--muted);
}

.site-header {
  --ivory: var(--ink);
  --muted: var(--ink-muted);
  --subtle: var(--ink-subtle);
  --border: rgba(8, 8, 7, 0.1);
  --soft-border: rgba(8, 8, 7, 0.07);
  position: fixed;
  top: 18px;
  right: 0;
  left: 0;
  z-index: 20;
  display: flex;
  width: var(--page);
  min-height: 60px;
  align-items: center;
  justify-content: space-between;
  margin-inline: auto;
  padding: 7px 8px 7px 16px;
  border: 1px solid rgba(8, 8, 7, 0.1);
  background: rgba(247, 244, 239, 0.82);
  box-shadow: 0 18px 60px rgba(8, 8, 7, 0.08);
  backdrop-filter: blur(24px);
  transition: background 180ms ease, border-color 180ms ease;
}

.site-header.is-scrolled {
  border-color: rgba(8, 8, 7, 0.14);
  background: rgba(247, 244, 239, 0.94);
}

.wordmark {
  display: inline-flex;
  align-items: center;
  min-height: 48px;
  padding: 3px;
  background: transparent;
}

.compact-mark {
  display: block;
  width: 46px;
  height: 46px;
}

.primary-nav {
  display: flex;
  align-items: center;
  gap: 4px;
}

.primary-nav a,
.primary-nav .nav-cta {
  padding: 10px 12px;
  color: var(--muted);
  font-size: 0.88rem;
  font-weight: 560;
  transition: background 180ms ease, color 180ms ease, border-color 180ms ease;
}

.primary-nav a:hover,
.primary-nav a:focus-visible {
  background: rgba(8, 8, 7, 0.045);
  color: var(--ivory);
  outline: none;
}

.primary-nav .nav-cta {
  margin-left: 4px;
  border: 1px solid rgba(184, 138, 85, 0.4);
  background: rgba(184, 138, 85, 0.11);
  color: rgba(8, 8, 7, 0.86);
  white-space: nowrap;
}

.primary-nav .nav-cta:hover,
.primary-nav .nav-cta:focus-visible {
  border-color: rgba(184, 138, 85, 0.56);
  background: rgba(184, 138, 85, 0.14);
  color: var(--ivory);
  outline: none;
}

.nav-toggle {
  display: none;
}

.cover {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(300px, 0.52fr);
  gap: clamp(52px, 6.8vw, 92px);
  align-items: center;
  width: var(--page);
  min-height: min(90svh, 820px);
  margin-inline: auto;
  padding: 152px 0 86px;
}

.cover::before {
  position: absolute;
  top: 118px;
  right: 0;
  left: 0;
  height: 1px;
  background: linear-gradient(90deg, var(--gold-dim), var(--soft-border), transparent);
  content: "";
}

.cover-copy {
  width: min(100%, 690px);
  min-width: 0;
}

#cover-title {
  max-width: 720px;
  font-size: clamp(3.9rem, 5.1vw, 5.42rem);
  text-wrap: balance;
}

.brief-label,
.folio span,
.not-column span,
.is-column span,
.lens-slip span,
.privacy-proof strong {
  color: var(--subtle);
  font-size: 0.72rem;
  font-weight: 680;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.brief-label {
  margin-bottom: 22px;
}

.cover-subhead {
  max-width: 760px;
  margin-bottom: 18px;
  color: rgba(8, 8, 7, 0.86);
  font-size: 1.34rem;
  font-weight: 520;
  line-height: 1.38;
}

.cover-text {
  max-width: 590px;
  margin-bottom: 34px;
  font-size: 1.08rem;
  line-height: 1.72;
}

.cover-note {
  max-width: 520px;
  margin: 20px 0 0;
  color: var(--subtle);
  font-size: 0.88rem;
  line-height: 1.55;
}

.hero-product {
  position: relative;
  justify-self: end;
  width: clamp(270px, 25vw, 355px);
  margin: 0;
  padding: 1px;
  overflow: hidden;
  border: 1px solid rgba(244, 240, 232, 0.1);
  border-radius: clamp(22px, 2.5vw, 32px);
  background: #080a0c;
  box-shadow:
    0 44px 120px rgba(0, 0, 0, 0.46),
    0 0 0 1px rgba(255, 255, 255, 0.018);
}

.hero-product::after {
  position: absolute;
  inset: 0;
  pointer-events: none;
  border-radius: inherit;
  box-shadow: inset 0 0 74px rgba(0, 0, 0, 0.1);
  content: "";
}

.hero-product img {
  display: block;
  width: 100%;
  height: auto;
  filter: brightness(1.08) contrast(1.04);
}

.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.button {
  display: inline-flex;
  min-height: 54px;
  align-items: center;
  justify-content: center;
  border: 1px solid transparent;
  padding: 15px 22px;
  font-weight: 680;
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease, color 180ms ease;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-1px);
  outline: none;
}

.button.primary {
  border-color: rgba(184, 138, 85, 0.78);
  background: linear-gradient(180deg, #c0955f, var(--gold));
  color: var(--cta-text);
  box-shadow: 0 16px 42px rgba(184, 138, 85, 0.14);
}

.button.secondary {
  border-color: var(--warm-border);
  background: rgba(255, 253, 250, 0.54);
  color: var(--ink);
}

.button.secondary:hover,
.button.secondary:focus-visible {
  border-color: rgba(8, 8, 7, 0.24);
  background: var(--paper-raised);
}

.briefing-page {
  display: grid;
  grid-template-columns: var(--brief-grid);
  gap: 58px;
  width: var(--page);
  margin-inline: auto;
  padding: 118px 0;
  border-top: 1px solid var(--border);
}

.folio {
  position: sticky;
  top: 116px;
  align-self: start;
  display: grid;
  gap: 10px;
  padding-left: clamp(12px, 1vw, 18px);
  padding-top: 7px;
  border-top: 1px solid var(--gold-dim);
}

.folio strong {
  max-width: 150px;
  color: rgba(8, 8, 7, 0.72);
  font-size: 0.96rem;
  font-weight: 560;
  line-height: 1.35;
}

.briefing-body {
  min-width: 0;
}

.margin-note {
  max-width: 360px;
  margin-bottom: 34px;
  padding-left: 18px;
  border-left: 1px solid var(--gold-dim);
  color: var(--muted);
  font-size: 0.98rem;
}

.editorial-pair {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1fr);
  gap: clamp(38px, 5vw, 56px);
  max-width: 930px;
  padding-top: 34px;
  border-top: 1px solid var(--border);
}

.editorial-pair p:first-child {
  color: rgba(8, 8, 7, 0.9);
  font-size: 2rem;
  font-weight: 500;
  line-height: 1.22;
}

.editorial-pair p:last-child,
.section-intro,
.brief-support p,
.closing-line {
  color: var(--muted);
  font-size: 1.1rem;
  line-height: 1.72;
}

.text-link {
  display: inline-flex;
  width: fit-content;
  margin-top: 34px;
  color: rgba(8, 8, 7, 0.86);
  font-size: 0.92rem;
  font-weight: 620;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  border-bottom: 1px solid var(--gold-dim);
}

.text-link:hover,
.text-link:focus-visible {
  color: var(--ivory);
  border-color: var(--gold);
  outline: none;
}

.belief .briefing-body {
  max-width: 980px;
}

.belief h2 {
  max-width: 850px;
}

.case {
  background: transparent;
  box-shadow: none;
  clip-path: none;
}

.case h2 {
  max-width: 980px;
}

.choice-sequence {
  display: grid;
  max-width: 980px;
  margin-top: 52px;
  border-top: 1px solid var(--border);
}

.choice-sequence p {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 28px;
  align-items: baseline;
  margin: 0;
  padding: 24px 0;
  border-bottom: 1px solid var(--border);
  color: var(--ivory);
  font-size: clamp(1.9rem, 3vw, 2.34rem);
  line-height: 1.08;
}

.choice-sequence span {
  color: rgba(8, 8, 7, 0.62);
}

.choice-sequence strong {
  min-width: 150px;
  color: rgba(8, 8, 7, 0.88);
  font-weight: 600;
  text-align: right;
}

.choice-sequence p:last-child {
  border-bottom-color: rgba(184, 138, 85, 0.28);
}

.choice-sequence p:last-child strong {
  color: var(--ivory);
}

.brief-support {
  display: grid;
  max-width: 820px;
  gap: 18px;
  margin-top: 38px;
}

.brief-support p {
  margin-bottom: 0;
}

.brief-support p:last-child {
  color: rgba(8, 8, 7, 0.9);
  font-size: 1.42rem;
  font-weight: 520;
  line-height: 1.34;
}

.brief-support p:last-child span {
  color: var(--muted);
}

.category-field {
  display: grid;
  grid-template-columns: minmax(220px, 0.42fr) minmax(0, 1fr);
  gap: 0;
  max-width: 980px;
  margin-top: 38px;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.not-column,
.is-column {
  padding: 34px 36px 38px;
}

.not-column {
  background: rgba(8, 8, 7, 0.014);
  opacity: 0.84;
}

.is-column {
  border-left: 1px solid var(--soft-border);
  background:
    linear-gradient(90deg, rgba(184, 138, 85, 0.08), transparent 2px),
    linear-gradient(180deg, rgba(184, 138, 85, 0.045), transparent);
}

.not-column p {
  margin: 22px 0 0;
  color: var(--subtle);
  font-size: 1.04rem;
  line-height: 1.2;
}

.is-column p {
  max-width: 660px;
  margin: 28px 0 22px;
  color: rgba(8, 8, 7, 0.9);
  font-size: 1.68rem;
  font-weight: 510;
  line-height: 1.24;
}

.is-column ul {
  display: grid;
  gap: 12px;
  max-width: 620px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.is-column li {
  color: var(--muted);
  font-size: 1.04rem;
  line-height: 1.55;
}

.section-intro {
  max-width: 760px;
  margin-bottom: 52px;
}

.lens-ledger {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.lens-slip {
  position: relative;
  display: grid;
  min-height: 340px;
  align-content: start;
  gap: 20px;
  padding: 32px 24px 34px;
}

.lens-slip + .lens-slip {
  border-left: 1px solid var(--soft-border);
}

.lens-slip::before {
  position: absolute;
  top: -1px;
  right: 24px;
  left: 24px;
  height: 1px;
  content: "";
}

.lens-slip span {
  display: flex;
  gap: 10px;
  align-items: baseline;
}

.lens-slip span b {
  color: var(--faint);
  font-size: 0.66rem;
  font-weight: 620;
  letter-spacing: 0.14em;
}

.lens-slip.drive::before { background: var(--drive); }
.lens-slip.sense::before { background: var(--sense); }
.lens-slip.align::before { background: var(--align); }
.lens-slip.build::before { background: var(--build); }

.lens-slip h3 {
  margin-top: 68px;
  color: rgba(8, 8, 7, 0.9);
  font-size: 1.34rem;
  font-weight: 520;
}

.lens-slip p {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.62;
}

.closing-line {
  max-width: 940px;
  margin: 36px 0 0;
  color: rgba(8, 8, 7, 0.9);
  font-size: 1.32rem;
  font-weight: 500;
  line-height: 1.48;
}

.surface-showcase {
  display: grid;
  grid-template-columns: minmax(0, 0.76fr) minmax(320px, 0.9fr);
  align-items: center;
  gap: clamp(52px, 5vw, 72px);
  max-width: 1100px;
}

.surface-copy {
  padding-top: 4px;
}

.surface-copy h2 {
  max-width: 720px;
  margin-bottom: 34px;
}

.surface-copy .section-intro {
  max-width: 620px;
  margin-bottom: 0;
}

.surface-workflow {
  max-width: 600px;
  margin: 34px 0 0;
  padding-top: 28px;
  border-top: 1px solid var(--soft-border);
  color: var(--muted);
  font-size: 1.03rem;
  line-height: 1.68;
}

.product-reveals {
  display: flex;
  gap: clamp(24px, 3.2vw, 42px);
  align-items: flex-start;
  justify-content: center;
  width: min(100%, 860px);
  margin: 0 auto 18px;
}

.product-reveal {
  position: relative;
  flex: 0 1 auto;
  margin: 0;
}

.product-frame {
  position: relative;
  padding: 1px;
  overflow: hidden;
  border: 1px solid rgba(244, 240, 232, 0.1);
  border-radius: clamp(20px, 2.4vw, 30px);
  background: #080a0c;
  box-shadow:
    0 42px 110px rgba(0, 0, 0, 0.46),
    0 0 64px rgba(111, 135, 147, 0.04),
    0 0 0 1px rgba(255, 255, 255, 0.018);
}

.product-reveal-primary {
  width: min(46%, 390px);
}

.product-reveal-secondary {
  width: min(41%, 350px);
  margin-top: 52px;
}

.product-reveal-secondary .product-frame {
  border-color: rgba(244, 240, 232, 0.075);
  box-shadow:
    0 36px 96px rgba(0, 0, 0, 0.42),
    0 0 0 1px rgba(255, 255, 255, 0.014);
}

.product-frame::after {
  position: absolute;
  inset: 0;
  pointer-events: none;
  border-radius: inherit;
  box-shadow: inset 0 0 72px rgba(0, 0, 0, 0.08);
  content: "";
}

.product-frame img {
  display: block;
  width: 100%;
  height: auto;
  filter: brightness(1.1) contrast(1.05);
}

.product-reveal figcaption {
  max-width: 100%;
  margin: 16px 4px 0;
  color: rgba(8, 8, 7, 0.58);
  font-size: 0.86rem;
  line-height: 1.45;
  overflow-wrap: break-word;
}

.privacy {
  padding-top: 128px;
  padding-bottom: 138px;
}

.privacy .briefing-body {
  max-width: 980px;
}

.privacy h2 {
  max-width: 900px;
  margin-bottom: 48px;
}

.privacy-claim {
  max-width: 720px;
  margin-bottom: 40px;
  color: var(--muted);
  font-size: 1.18rem;
  font-weight: 450;
  line-height: 1.58;
}

.privacy-device {
  max-width: 900px;
  margin-bottom: 36px;
  color: var(--ivory);
  font-size: clamp(2.3rem, 5vw, 4.8rem);
  font-weight: 520;
  line-height: 1.04;
}

.privacy-facts {
  max-width: 790px;
  margin-bottom: 0;
  color: var(--muted);
  font-size: 1.08rem;
  line-height: 1.72;
}

.privacy-proof {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  max-width: 920px;
  margin-top: 62px;
}

.privacy-proof article {
  display: grid;
  min-height: 132px;
  align-content: start;
  gap: 14px;
  margin: 0;
  padding: 25px 20px;
  border: 1px solid rgba(8, 8, 7, 0.075);
  background: linear-gradient(180deg, rgba(8, 8, 7, 0.022), rgba(8, 8, 7, 0.01));
}

.privacy-proof strong {
  color: rgba(8, 8, 7, 0.66);
}

.privacy-proof span {
  color: var(--muted);
  font-size: 0.87rem;
  line-height: 1.5;
}

.privacy-close {
  margin: 62px 0 0;
  color: rgba(8, 8, 7, 0.94);
  font-size: 1.52rem;
  font-weight: 560;
}

.closing-brief {
  display: grid;
  width: var(--page);
  min-height: 64vh;
  align-items: center;
  margin-inline: auto;
  padding: 112px 0;
  border-top: 1px solid var(--border);
  text-align: center;
}

.closing-inner {
  max-width: 840px;
  margin-inline: auto;
}

.closing-inner .brief-label {
  color: var(--subtle);
  font-size: 0.66rem;
}

.closing-inner p:not(.brief-label) {
  max-width: 620px;
  margin: 0 auto 34px;
  font-size: 1.1rem;
}

.site-footer {
  width: var(--page);
  margin-inline: auto;
  padding: 42px 0 38px;
  border-top: 1px solid var(--soft-border);
}

.footer-directory {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px 34px;
  padding-bottom: 38px;
}

.footer-directory a {
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 540;
  line-height: 1.45;
}

.footer-directory a:hover,
.footer-directory a:focus-visible,
.footer-directory a[aria-current="page"] {
  color: var(--ivory);
  outline: none;
}

.footer-meta {
  display: flex;
  gap: 32px;
  align-items: baseline;
  justify-content: space-between;
  padding-top: 24px;
  border-top: 1px solid var(--soft-border);
}

.footer-meta small {
  margin: 0;
  color: var(--faint);
  font-size: 0.88rem;
  line-height: 1.5;
}

.footer-utility {
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
  align-items: baseline;
  justify-content: flex-end;
  text-align: right;
}

.footer-utility a {
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 540;
}

.footer-utility a:hover,
.footer-utility a:focus-visible {
  color: var(--ivory);
  outline: none;
}

.footer-utility a[aria-current="page"] {
  color: var(--ivory);
}

.legal-page {
  background:
    radial-gradient(circle at 18% -8%, rgba(184, 138, 85, 0.08), transparent 26rem),
    var(--paper);
}

.legal-header {
  display: flex;
  width: var(--page);
  min-height: 82px;
  align-items: center;
  justify-content: space-between;
  margin-inline: auto;
  border-bottom: 1px solid var(--border);
}

.legal-nav {
  display: flex;
  gap: 24px;
}

.legal-nav a {
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 560;
}

.legal-nav a:hover,
.legal-nav a:focus-visible {
  color: var(--ivory);
  outline: none;
}

.legal-main {
  width: min(820px, calc(100% - 56px));
  margin-inline: auto;
  padding: 100px 0 120px;
}

.legal-hero {
  padding-bottom: 58px;
  border-bottom: 1px solid var(--border);
}

.legal-hero h1 {
  max-width: none;
  margin-bottom: 24px;
  font-size: clamp(3.8rem, 8vw, 6.4rem);
  line-height: 0.98;
}

.legal-hero > p:not(.brief-label) {
  max-width: 700px;
  margin-bottom: 0;
  font-size: 1.12rem;
  line-height: 1.72;
}

.legal-effective {
  margin-bottom: 22px !important;
  color: var(--subtle);
  font-size: 0.86rem !important;
  font-weight: 620;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.legal-contact {
  width: fit-content;
  margin-top: 34px;
}

.legal-content {
  display: grid;
}

.legal-content section {
  padding: 42px 0;
  border-bottom: 1px solid var(--soft-border);
}

.legal-content h2 {
  margin-bottom: 18px;
  font-size: 1.55rem;
  line-height: 1.25;
}

.legal-content p {
  max-width: 740px;
  margin-bottom: 16px;
  font-size: 1.02rem;
  line-height: 1.72;
}

.legal-content p:last-child {
  margin-bottom: 0;
}

.legal-content a {
  color: rgba(8, 8, 7, 0.9);
  text-decoration: underline;
  text-decoration-color: var(--gold-dim);
  text-underline-offset: 4px;
}

.legal-footer {
  width: var(--page);
}

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 760ms ease, transform 760ms ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

@media (max-width: 1060px) {
  h1 {
    font-size: 4.45rem;
  }

  h2 {
    font-size: 3.34rem;
  }

  .briefing-page {
    grid-template-columns: 1fr;
  }

  .cover {
    grid-template-columns: 1fr;
    gap: 56px;
    min-height: auto;
    padding-top: 136px;
  }

  .hero-product {
    justify-self: center;
    width: min(54%, 340px);
  }

  .folio {
    position: static;
    grid-template-columns: auto 1fr;
    align-items: baseline;
    padding-left: 0;
  }

  .folio strong {
    max-width: none;
  }

  .lens-ledger {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .surface-showcase {
    grid-template-columns: 1fr;
    gap: 56px;
  }

  .product-reveals {
    width: min(100%, 760px);
  }

  .product-reveal-primary {
    width: min(48%, 360px);
  }

  .product-reveal-secondary {
    width: min(43%, 320px);
    margin-top: 40px;
  }

  .privacy-proof {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .privacy-proof article {
    grid-column: auto;
  }

  .lens-slip:nth-child(3) {
    border-left: 0;
  }

  .lens-slip:nth-child(n + 3) {
    border-top: 1px solid var(--soft-border);
  }

  .footer-utility {
    justify-content: flex-start;
    text-align: left;
  }

  .legal-main {
    padding-top: 80px;
  }
}

@media (max-width: 760px) {
  html {
    scroll-padding-top: 90px;
  }

  :root {
    --page: min(100% - 28px, 1210px);
  }

  .footer-directory {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px 24px;
    padding-bottom: 32px;
  }

  .footer-meta {
    align-items: flex-start;
  }

  h1 {
    font-size: 2.72rem;
    line-height: 1.02;
  }

  h2 {
    font-size: 2.28rem;
    line-height: 1.12;
  }

  .site-header {
    top: 8px;
    min-height: 54px;
    padding: 5px 6px 5px 12px;
  }

  .compact-mark {
    width: 44px;
    height: 44px;
  }

  .nav-toggle {
    display: grid;
    gap: 5px;
    width: 40px;
    height: 40px;
    place-content: center;
    border: 1px solid rgba(8, 8, 7, 0.14);
    background: rgba(255, 253, 250, 0.48);
    color: var(--ink);
  }

  .nav-toggle span:not(.sr-only) {
    display: block;
    width: 18px;
    height: 2px;
    background: currentColor;
  }

  .primary-nav {
    position: absolute;
    top: calc(100% + 10px);
    right: 0;
    left: 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 8px;
    border: 1px solid var(--border);
    background: rgba(247, 244, 239, 0.98);
    box-shadow: 0 18px 54px rgba(8, 8, 7, 0.12);
    backdrop-filter: blur(20px);
  }

  .primary-nav.is-open {
    display: flex;
  }

  .primary-nav a,
  .primary-nav .nav-cta {
    padding: 12px 14px;
  }

  .primary-nav .nav-cta {
    margin-left: 0;
  }

  .legal-header {
    min-height: 72px;
  }

  .legal-nav {
    gap: 16px;
  }

  .legal-main {
    width: min(100% - 28px, 820px);
    padding: 72px 0 88px;
  }

  .legal-hero {
    padding-bottom: 52px;
  }

  .legal-hero h1 {
    font-size: 3rem;
  }

  .legal-hero > p:not(.brief-label) {
    font-size: 1.03rem;
  }

  .legal-contact {
    width: 100%;
  }

  .legal-content section {
    padding: 34px 0;
  }

  .cover {
    gap: 28px;
    padding-top: 86px;
    padding-bottom: 54px;
  }

  #cover-title {
    margin-bottom: 20px;
    font-size: 2.72rem;
    line-height: 1;
  }

  .brief-label {
    margin-bottom: 14px;
    letter-spacing: 0.13em;
  }

  .hero-product {
    justify-self: center;
    width: min(70%, 310px);
    border-radius: 24px;
  }

  .cover-subhead {
    font-size: 1.1rem;
  }

  .cover-text,
  .section-intro,
  .brief-support p,
  .editorial-pair p:last-child {
    font-size: 1.03rem;
  }

  .button-row,
  .button {
    width: 100%;
  }

  .button {
    min-height: 48px;
    padding: 12px 16px;
    text-align: center;
  }

  .briefing-page,
  .closing-brief {
    gap: 34px;
    padding: 80px 0;
  }

  .editorial-pair,
  .category-field {
    grid-template-columns: 1fr;
  }

  .editorial-pair {
    gap: 20px;
    padding-top: 28px;
  }

  .editorial-pair p:first-child {
    font-size: 1.38rem;
  }

  .choice-sequence {
    margin-top: 38px;
  }

  .choice-sequence p {
    display: block;
    padding: 22px 0;
    font-size: 1.62rem;
    line-height: 1.22;
  }

  .choice-sequence strong {
    min-width: 0;
    margin-left: 0.24em;
    text-align: left;
  }

  .not-column,
  .is-column {
    padding: 28px 0;
  }

  .is-column {
    border-top: 1px solid var(--soft-border);
    border-left: 0;
  }

  .is-column p {
    font-size: 1.32rem;
  }

  .lens-ledger {
    grid-template-columns: 1fr;
  }

  .lens-slip,
  .lens-slip:nth-child(3) {
    min-height: 250px;
    border-left: 0;
  }

  .lens-slip + .lens-slip {
    border-top: 1px solid var(--soft-border);
  }

  .lens-slip h3 {
    margin-top: 38px;
    font-size: 1.2rem;
  }

  .surface-showcase {
    gap: 48px;
  }

  .product-reveals {
    display: grid;
    gap: 24px;
    width: 100%;
    margin-bottom: 8px;
  }

  .product-reveal-primary {
    width: min(82%, 350px);
    justify-self: start;
  }

  .product-reveal-secondary {
    width: min(76%, 320px);
    justify-self: end;
    margin-top: 0;
  }

  .product-frame {
    border-radius: 22px;
  }

  .product-reveal figcaption {
    margin-top: 12px;
    font-size: 0.82rem;
  }

  .privacy {
    padding-top: 96px;
    padding-bottom: 104px;
  }

  .privacy h2 {
    margin-bottom: 34px;
  }

  .privacy-claim {
    margin-bottom: 32px;
    font-size: 1.06rem;
  }

  .privacy-device {
    margin-bottom: 28px;
    font-size: 2.5rem;
  }

  .privacy-proof {
    grid-template-columns: 1fr;
    gap: 12px;
    margin-top: 46px;
  }

  .privacy-proof article,
  .privacy-proof article:nth-child(4),
  .privacy-proof article:nth-child(5),
  .privacy-proof article:nth-child(6) {
    grid-column: auto;
    min-height: 0;
    gap: 10px;
    padding: 21px 20px;
  }

  .privacy-close {
    margin-top: 46px;
  }
}

@media (max-width: 420px) {
  h1 {
    font-size: 2.64rem;
  }

  #cover-title {
    font-size: 2.42rem;
  }

  h2 {
    font-size: 2.02rem;
  }
}

@media (max-width: 380px) {
  .choice-sequence strong {
    display: block;
    margin-top: 6px;
    margin-left: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}

@media print {
  .reveal {
    opacity: 1 !important;
    transform: none !important;
  }

  .site-header {
    position: absolute;
  }

  .cover {
    min-height: auto;
    padding-bottom: 72px;
  }
}

/* Editorial SEO support pages */
.editorial-page .site-header {
  position: sticky;
}

.editorial-main {
  width: var(--page);
  margin-inline: auto;
  padding: 86px 0 72px;
}

.editorial-hero {
  position: relative;
  max-width: 980px;
  padding: 70px 0 66px;
  border-bottom: 1px solid var(--border);
}

.editorial-hero::before {
  position: absolute;
  top: 44px;
  left: 0;
  width: 74px;
  height: 1px;
  background: var(--gold-dim);
  content: "";
}

.editorial-hero h1 {
  font-size: clamp(3.3rem, 6vw, 5.6rem);
  text-wrap: balance;
}

.editorial-hero > p:last-child {
  max-width: 780px;
  color: rgba(8, 8, 7, 0.78);
  font-size: 1.18rem;
  line-height: 1.72;
}

.editorial-content {
  max-width: 980px;
}

.editorial-section {
  max-width: 940px;
  padding: 50px 0;
  border-bottom: 1px solid var(--soft-border);
}

.editorial-section h2 {
  max-width: 820px;
  margin: 0 0 24px;
  font-size: clamp(1.9rem, 3.45vw, 3.05rem);
  text-wrap: balance;
}

.editorial-section h3 {
  margin: 34px 0 12px;
  color: rgba(8, 8, 7, 0.92);
  font-size: 1.28rem;
}

.editorial-section p,
.editorial-section li {
  max-width: var(--editorial-measure);
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.82;
}

.editorial-section p + p {
  margin-top: 14px;
}

.editorial-section ul {
  display: grid;
  gap: 8px;
  margin: 20px 0 0;
  padding-left: 1.2rem;
}

.editorial-section hr {
  width: 100%;
  height: 1px;
  margin: 42px 0;
  border: 0;
  background: linear-gradient(90deg, var(--gold-dim), var(--soft-border), transparent);
}

.methodology-lens-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  max-width: 900px;
  margin-top: 30px;
}

.methodology-lens-grid article {
  min-height: 220px;
  padding: 24px 22px;
  border: 1px solid var(--soft-border);
  background: linear-gradient(180deg, rgba(8, 8, 7, 0.02), rgba(8, 8, 7, 0.01));
}

.methodology-lens-grid article:nth-child(1) { border-top-color: var(--drive); }
.methodology-lens-grid article:nth-child(2) { border-top-color: var(--sense); }
.methodology-lens-grid article:nth-child(3) { border-top-color: var(--align); }
.methodology-lens-grid article:nth-child(4) { border-top-color: var(--build); }

.methodology-lens-grid h3 {
  margin: 0 0 28px;
  font-size: 1.24rem;
}

.methodology-lens-grid p {
  margin-bottom: 14px;
  font-size: 0.98rem;
}

.methodology-lens-grid p:first-of-type {
  color: rgba(8, 8, 7, 0.86);
  font-weight: 560;
}

.methodology-lens-grid p:last-child {
  margin-bottom: 0;
}

.category-scan-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  max-width: 860px;
  margin-top: 30px;
}

.category-scan-grid > div {
  padding: 24px 22px;
  border: 1px solid var(--soft-border);
  background: linear-gradient(180deg, rgba(8, 8, 7, 0.02), rgba(8, 8, 7, 0.01));
}

.category-scan-grid > div:first-child {
  opacity: 0.82;
}

.category-scan-grid > div:last-child {
  border-top-color: rgba(184, 138, 85, 0.38);
  background:
    linear-gradient(90deg, rgba(184, 138, 85, 0.06), transparent 2px),
    rgba(8, 8, 7, 0.018);
}

.category-scan-grid span {
  display: block;
  margin-bottom: 18px;
  color: var(--subtle);
  font-size: 0.72rem;
  font-weight: 680;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.category-scan-grid ul {
  display: grid;
  gap: 11px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.category-scan-grid li {
  color: var(--muted);
  font-size: 0.98rem;
  line-height: 1.45;
}

.category-scan-grid > div:last-child li {
  color: rgba(8, 8, 7, 0.82);
}

.field-guide-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  max-width: 900px;
  margin-top: 30px;
}

.field-guide-grid article {
  min-height: 176px;
  padding: 24px 22px;
  border: 1px solid var(--soft-border);
  background: linear-gradient(180deg, rgba(8, 8, 7, 0.02), rgba(8, 8, 7, 0.01));
}

.field-guide-grid h3 {
  margin: 0 0 22px;
  font-size: 1.2rem;
}

.field-guide-grid p {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 0.98rem;
  line-height: 1.58;
}

.editorial-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 52px;
  padding-top: 2px;
}

.editorial-link-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  max-width: 980px;
  margin-top: 28px;
}

.editorial-link-grid a {
  min-height: 118px;
  padding: 22px;
  border: 1px solid var(--soft-border);
  background: linear-gradient(180deg, rgba(8, 8, 7, 0.02), rgba(8, 8, 7, 0.01));
  color: rgba(8, 8, 7, 0.86);
  font-size: 1.05rem;
  font-weight: 560;
}

.editorial-link-grid a:hover,
.editorial-link-grid a:focus-visible {
  border-color: rgba(184, 138, 85, 0.34);
  background: rgba(184, 138, 85, 0.055);
}

.comparison-table {
  display: grid;
  max-width: 780px;
  margin: 28px 0;
  border-top: 1px solid var(--border);
}

.comparison-table > div {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  padding: 16px 0;
  border-bottom: 1px solid var(--soft-border);
}

.comparison-table span {
  color: var(--muted);
}

.comparison-table > div:first-child span {
  color: var(--ivory);
  font-weight: 680;
}

.footer-utility {
  flex-wrap: wrap;
  justify-content: flex-end;
}

@media (max-width: 760px) {
  .editorial-main {
    padding-top: 54px;
  }

  .editorial-hero {
    padding: 50px 0 48px;
  }

  .editorial-section {
    padding: 38px 0;
  }

  .editorial-link-grid,
  .methodology-lens-grid,
  .category-scan-grid,
  .field-guide-grid,
  .comparison-table > div {
    grid-template-columns: 1fr;
  }

  .footer-utility {
    justify-content: flex-start;
  }
}

@media (max-width: 520px) {
  .footer-directory {
    grid-template-columns: 1fr;
  }

  .footer-meta {
    flex-direction: column;
    gap: 14px;
  }
}
