/* How Nova handles your data (/your-data/). Builds on site.css tokens. */
.orb-defs { position: absolute; width: 0; height: 0; overflow: hidden; }
.data-page main { padding-top: 68px; }
.data-page .nav ul a[aria-current="page"] { color: var(--ink); }
.data-page .nav ul a[aria-current="page"]::after { content: ""; display: block; height: 2px; margin-top: 4px; border-radius: 2px; background: var(--accent); }
.data-page footer a[aria-current="page"] { color: var(--ink); }
.data-page .synthetic.center { text-align: center; }

.eyebrow { margin: 0 0 14px; color: var(--accent); font-size: 15px; font-weight: 600; letter-spacing: 0.02em; }
.d-hero { padding: 104px 0 24px; }
.d-hero .h2 { font-size: clamp(42px, 6vw, 84px); }
.jump { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-top: 36px; }
.jump a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 18px; border-radius: 999px; background: rgba(255, 255, 255, 0.85); box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.08); font-size: 15px; font-weight: 600; text-decoration: none; color: var(--ink-2); transition: background 0.2s var(--ease); }
.jump a:hover { background: #fff; color: var(--ink); }

.d-block { padding: 112px 0 40px; scroll-margin-top: 60px; }
.d-last { padding-bottom: 140px; }
.h3 { font-size: clamp(36px, 4.6vw, 64px); font-weight: 700; letter-spacing: -0.04em; line-height: 1.02; margin: 0; text-wrap: balance; }
.d-block h3 { letter-spacing: -0.02em; }

/* Shared card look */
.src, .team, .col, .step, .guards article, .locks article, .ask-card {
  background: rgba(255, 255, 255, 0.94); border: 1px solid var(--line); box-shadow: var(--shadow-sm);
}
.g-ic { width: 48px; height: 48px; border-radius: 14px; display: flex; align-items: center; justify-content: center; flex: none; }
.g-ic svg, .sq-ic svg, .badge svg, .wall svg, .stay svg, .scrub-arrow svg, .arrow svg, .mock.sent svg { fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.g-ic svg { width: 26px; height: 26px; }

/* 1. Map: your systems <-> the AI team */
.map { display: grid; grid-template-columns: minmax(0, 1fr) 200px minmax(0, 1fr); gap: 20px; align-items: center; margin-top: 64px; }
.sources { display: flex; flex-direction: column; gap: 14px; }
.src { display: grid; grid-template-columns: 56px minmax(0, 1fr) auto; gap: 16px; align-items: center; padding: 16px 18px; border-radius: 24px; }
.src.hit { box-shadow: 0 0 0 2px var(--accent), 0 14px 30px rgba(91, 62, 230, 0.15); }
.sq-ic { width: 56px; height: 56px; border-radius: 16px; display: flex; align-items: center; justify-content: center; color: #fff; }
.sq-ic svg { width: 28px; height: 28px; }
.src b { display: block; font-size: 20px; letter-spacing: -0.02em; line-height: 1.2; }
.src small { font-size: 15px; font-weight: 500; color: var(--ink-3); }
.stay { display: inline-flex; align-items: center; gap: 6px; font-size: 14px; font-weight: 600; color: var(--green); white-space: nowrap; }
.stay svg { width: 16px; height: 16px; }
.pipe { display: flex; flex-direction: column; align-items: center; gap: 10px; color: var(--accent); }
.pipe svg { fill: none; stroke: currentColor; stroke-width: 2.5; stroke-linecap: round; stroke-linejoin: round; overflow: visible; }
.pipe line { stroke-dasharray: 2 9; animation: dash 1.4s linear infinite; }
.pipe-h { width: 100%; height: 40px; }
.pipe-v { display: none; width: 40px; height: 72px; }
.pipe-label { padding: 8px 14px; border-radius: 999px; background: var(--accent-soft); color: var(--accent); font-size: 14px; font-weight: 700; text-align: center; line-height: 1.3; }
@keyframes dash { to { stroke-dashoffset: -22; } }
.team { padding: 24px; border-radius: 28px; display: flex; flex-direction: column; gap: 16px; }
.team-who { display: flex; align-items: center; gap: 14px; }
.team-who .orb-svg { width: 64px; height: 64px; flex: none; }
.team-who b { display: block; font-size: 21px; letter-spacing: -0.02em; }
.team-who small { font-size: 15px; font-weight: 500; color: var(--ink-3); }
.team-task { padding: 14px 16px; border-radius: 18px; background: #f6f5fa; }
.team-task small { display: block; font-size: 12px; font-weight: 700; letter-spacing: 0.06em; color: var(--ink-3); }
.team-task span { font-size: 18px; font-weight: 600; letter-spacing: -0.01em; }
.team-log { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; font-size: 16px; color: var(--ink-2); }
.team-log li { display: flex; gap: 10px; align-items: baseline; }
.team-log li::before { content: ""; width: 9px; height: 9px; border-radius: 50%; background: #34c759; flex: none; transform: translateY(-1px); }

/* 2. Compare: never kept vs kept */
.compare { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; margin-top: 64px; align-items: start; }
.col { padding: 28px; border-radius: 32px; display: flex; flex-direction: column; gap: 20px; }
.col header { display: flex; align-items: center; gap: 14px; }
.col h3 { margin: 0; font-size: 23px; line-height: 1.2; }
.col header small { font-size: 15px; font-weight: 600; color: var(--ink-3); }
.badge { width: 48px; height: 48px; border-radius: 14px; display: flex; align-items: center; justify-content: center; flex: none; }
.badge svg { width: 26px; height: 26px; }
.never .badge { background: #fff3f1; color: #c4402f; }
.kept .badge { background: #e5f6ec; color: var(--green); }
.chips { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.chips li { padding: 8px 14px; border-radius: 999px; background: #fff3f1; color: #9f2f22; font-size: 15px; font-weight: 600; text-decoration: line-through; text-decoration-thickness: 1.5px; text-decoration-color: rgba(196, 64, 47, 0.55); }
.scrub { display: flex; flex-direction: column; align-items: stretch; gap: 6px; }
.scrub-row { padding: 14px 16px; border-radius: 18px; background: #f6f5fa; }
.scrub-row small { display: block; font-size: 12px; font-weight: 700; letter-spacing: 0.06em; color: var(--ink-3); }
.scrub-row p { margin: 4px 0 0; font-size: 16px; color: var(--ink); overflow-wrap: anywhere; }
.scrub-row mark { background: #ffe1dc; color: #9f2f22; border-radius: 6px; padding: 0 4px; }
.scrub-row.saved { background: #eefaf2; }
.scrub-row s { text-decoration: none; display: inline-block; padding: 0 8px; border-radius: 6px; background: #d9d9e0; color: var(--ink-3); font-size: 13px; font-weight: 600; }
.scrub-arrow { display: flex; justify-content: center; color: var(--ink-3); }
.scrub-arrow svg { width: 20px; height: 20px; }
.how, .kept-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 12px; }
.how li { position: relative; padding-left: 28px; font-size: 16px; color: var(--ink-2); }
.how li::before { content: ""; position: absolute; left: 2px; top: 6px; width: 14px; height: 14px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 4px rgba(91, 62, 230, 0.15); }
.kept-list li { padding: 14px 16px; border-radius: 18px; background: #f6f5fa; }
.kept-list b { display: block; font-size: 18px; letter-spacing: -0.01em; }
.kept-list span { font-size: 16px; color: var(--ink-2); }
.wall { display: flex; gap: 14px; align-items: flex-start; padding: 16px; border-radius: 18px; background: var(--ink); color: #fff; }
.wall svg { width: 26px; height: 26px; flex: none; color: #b9a6ff; }
.wall p { margin: 0; font-size: 16px; font-weight: 500; }

/* 3. Approval flow */
.flow { list-style: none; margin: 64px 0 0; padding: 0; display: grid; grid-template-columns: minmax(0, 1fr) 40px minmax(0, 1fr) 40px minmax(0, 1fr); gap: 12px; align-items: center; }
.step { position: relative; padding: 24px; border-radius: 28px; display: flex; flex-direction: column; gap: 14px; height: 100%; }
.step .num { width: 36px; height: 36px; border-radius: 12px; display: flex; align-items: center; justify-content: center; background: var(--accent-soft); color: var(--accent); font-weight: 700; }
.step h3 { margin: 0; font-size: 21px; line-height: 1.25; }
.arrow { display: flex; justify-content: center; color: var(--accent); }
.arrow svg { width: 28px; height: 28px; stroke-width: 2.4; }
.mock { padding: 14px; border-radius: 18px; background: #f6f5fa; margin-top: auto; }
.mock small { display: block; font-size: 11px; font-weight: 700; letter-spacing: 0.06em; color: var(--ink-3); }
.mock p { margin: 4px 0 0; font-size: 15px; color: var(--ink-2); }
.mock.ask p { font-size: 17px; font-weight: 600; color: var(--ink); }
.mock .btns { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 12px; }
.mock .btns span { min-height: 40px; display: flex; align-items: center; justify-content: center; border-radius: 12px; font-size: 15px; font-weight: 700; }
.mock .no { background: #e8e8ee; }
.mock .yes { background: var(--accent); color: #fff; }
.mock.sent { display: flex; align-items: center; gap: 12px; background: #eefaf2; }
.mock.sent svg { width: 36px; height: 36px; color: var(--green); flex: none; }
.mock.sent p { margin: 0; font-size: 17px; font-weight: 600; color: var(--ink); line-height: 1.3; }
.mock.sent p small { font-size: 13px; font-weight: 600; letter-spacing: 0; color: var(--ink-3); }

.guards, .locks { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; margin-top: 48px; }
.guards article, .locks article { padding: 24px; border-radius: 28px; display: flex; flex-direction: column; gap: 12px; }
.guards h3, .locks h3 { margin: 4px 0 0; font-size: 20px; line-height: 1.25; }
.guards p, .locks p { margin: 0; font-size: 16px; color: var(--ink-2); }
.locks { margin-top: 56px; }

/* 5. Copy or delete */
.ask-card { max-width: 820px; margin: 0 auto; padding: 56px 40px; border-radius: 40px; text-align: center; box-shadow: var(--shadow); }
.ask-card > .orb-svg { width: 104px; height: 104px; margin: 0 auto 20px; }
.ask-card .lede { margin-left: auto; margin-right: auto; }
.ask-card .ctas { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; margin-top: 32px; }

.data-page footer { padding: 40px 0 56px; }

@media (max-width: 1060px) {
  .map { grid-template-columns: 1fr; max-width: 560px; margin-left: auto; margin-right: auto; gap: 14px; }
  .pipe-h { display: none; }
  .pipe-v { display: block; }
  .compare { grid-template-columns: 1fr; max-width: 640px; margin-left: auto; margin-right: auto; }
  .flow { grid-template-columns: 1fr; max-width: 480px; margin-left: auto; margin-right: auto; }
  .flow .arrow svg { transform: rotate(90deg); }
  .guards, .locks { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 640px) {
  .data-page .wrap { padding: 0 16px; }
  .data-page .nav .wrap { gap: 12px; }
  .d-hero { padding: 64px 0 8px; }
  .d-hero .h2 { font-size: clamp(36px, 10.5vw, 46px); }
  .jump { margin-top: 28px; }
  .jump a { min-height: 40px; padding: 0 14px; font-size: 14px; }
  .d-block { padding: 80px 0 24px; }
  .h3 { font-size: clamp(32px, 9.5vw, 42px); }
  .map, .compare, .flow { margin-top: 40px; }
  .src { grid-template-columns: 48px minmax(0, 1fr); gap: 12px; padding: 14px; border-radius: 20px; }
  .sq-ic { width: 48px; height: 48px; border-radius: 14px; }
  .src .stay { grid-column: 2; }
  .src b { font-size: 18px; }
  .team, .col, .step { padding: 20px; border-radius: 24px; }
  .col h3 { font-size: 20px; }
  .guards, .locks { grid-template-columns: 1fr; gap: 14px; margin-top: 36px; }
  .guards article, .locks article { padding: 20px; border-radius: 24px; }
  .ask-card { padding: 40px 20px; border-radius: 30px; }
  .ask-card .btn-lg { width: 100%; white-space: normal; text-align: center; font-size: 17px; }
  .d-last { padding-bottom: 96px; }
}
@media (prefers-reduced-motion: reduce) {
  .pipe line { animation: none; }
}
