/* Privacy wash page modules. Shared tokens / chrome live in layout.css. */

.sec-kicker {
  font-size: 13px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #f0f0f0;
  margin-bottom: 28px;
}

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

.privacy-hero {
  padding: calc(var(--nav-h) + 48px) var(--pad) 80px;
}

.privacy-intro {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(260px, 0.75fr);
  gap: 64px;
  align-items: end;
  margin-bottom: 56px;
}

.privacy-intro h1 {
  font-family: "Inter Tight", Inter, sans-serif;
  font-size: clamp(48px, 8vw, 104px);
  font-weight: 800;
  letter-spacing: -0.05em;
  line-height: 0.88;
}

.privacy-intro h1 em {
  font-style: normal;
  color: var(--lime);
}

.privacy-lead {
  font-size: 16px;
  line-height: 1.75;
  color: #ffffff;
}

.trust {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 22px;
  margin-top: 28px;
}

.trust span {
  font-size: 13px;
  letter-spacing: 0.08em;
  color: #f0f0f0;
}

.trust span::before {
  content: "◆";
  color: var(--lime);
  margin-right: 8px;
  font-size: 8px;
}

.workspace-live {
  font-size: 13px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #f2f2f2;
}

.workspace-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 12px;
}

.mode-tabs {
  display: flex;
  gap: 28px;
  border: 0;
}

.mode-tab {
  position: relative;
  cursor: pointer;
}

.mode-tab input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.mode-tab span {
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: #dedede;
  padding-bottom: 8px;
  border-bottom: 1px solid transparent;
  transition: color .25s, border-color .25s;
}

.mode-tab:hover span,
.mode-tab:has(input:checked) span {
  color: var(--white);
  border-bottom-color: var(--lime);
}

.setup-label {
  display: block;
  margin-bottom: 10px;
  font-size: 13px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #f2f2f2;
}

.privacy-area {
  width: 100%;
  min-height: 200px;
  border: 1px solid var(--field-line);
  padding: 14px 16px;
  background: var(--field);
  color: var(--white);
  caret-color: var(--lime);
  font-family: ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;
  font-size: 15px;
  line-height: 1.7;
  resize: vertical;
}

.privacy-area::placeholder {
  color: #d0d0d0;
  opacity: 1;
}

.privacy-area:focus {
  outline: none;
  border-color: var(--lime);
}

.privacy-area-out {
  min-height: 160px;
  color: #f5f5f5;
  resize: vertical;
}

.metric-note {
  margin-top: 10px;
  font-size: 14px;
  color: #e0e0e0;
}

.hint {
  margin-top: 12px;
  font-size: 13px;
  color: #fbbf24;
}

.setup-block { margin-top: 32px; }

.choice-row,
.chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.choice-row {
  border: 0;
  margin-bottom: 8px;
}

.chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border: 1px solid #2a2a2a;
  font-size: 12px;
  letter-spacing: 0.06em;
  color: #f2f2f2;
  cursor: pointer;
  transition: .25s;
}

.chip input { accent-color: var(--lime); }

.chip:has(input:checked) {
  border-color: var(--lime);
  color: var(--lime);
}

.keep-ref {
  margin-top: 8px;
}

.output-head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 8px;
}

.output-kicker,
.output-lead {
  font-size: 13px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #f2f2f2;
}

.output-kicker { margin-bottom: 10px; }

.output-lead {
  margin-top: 10px;
  letter-spacing: 0.08em;
  text-transform: none;
}

.output-tools {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.output-tool {
  display: inline-flex;
  align-items: center;
  height: 42px;
  padding: 0 16px;
  border: 1px solid #fff;
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #fff;
  transition: .25s;
}

.output-tool:hover {
  border-color: var(--lime);
  color: var(--lime);
}

#output-link,
#output-redact {
  flex: 1;
  display: flex;
  flex-direction: column;
  min-height: 0;
}

.privacy-empty,
.privacy-results {
  flex: 1;
  min-height: 220px;
  padding: 20px 18px;
  border: 1px solid var(--field-line);
  background: var(--field);
}

.privacy-empty {
  display: flex;
  align-items: center;
}

.privacy-empty p {
  max-width: 420px;
  color: #eeeeee;
  font-size: 16px;
  line-height: 1.75;
}

.result-list {
  display: flex;
  flex-direction: column;
}

.result-item {
  display: grid;
  grid-template-columns: 40px minmax(0, 1fr) auto;
  align-items: start;
  gap: 16px;
  padding: 22px 0;
  border-bottom: 1px solid var(--line);
}

.result-item:last-child { border-bottom: 0; }

.result-item.is-error {
  grid-template-columns: 40px minmax(0, 1fr);
}

.result-index {
  font-size: 12px;
  letter-spacing: 0.08em;
  color: var(--lime);
  padding-top: 4px;
}

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

.result-url {
  display: block;
  font-family: ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;
  font-size: 15px;
  word-break: break-all;
}

.result-error {
  color: #fecaca;
  font-size: 14px;
  line-height: 1.6;
}

.strip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 10px;
}

.strip-chip,
.strip-none,
.count-chip {
  display: inline-flex;
  align-items: center;
  padding: 4px 8px;
  border: 1px solid #5a5a5a;
  font-size: 12px;
  letter-spacing: 0.04em;
  color: #d4d4d4;
}

.strip-chip {
  border-color: var(--lime);
  color: var(--lime);
}

.result-copy {
  display: inline-flex;
  align-items: center;
  height: 34px;
  padding: 0 12px;
  border: 1px solid #fff;
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #fff;
  transition: .25s;
}

.result-copy:hover {
  border-color: var(--lime);
  color: var(--lime);
}

.compare-line {
  margin-top: 12px;
  font-size: 14px;
  color: #e0e0e0;
}

.count-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 16px;
}

.count-chip {
  border-color: var(--lime);
  color: var(--lime);
}

.privacy-notes,
.privacy-rules {
  padding: 100px var(--pad) 40px;
  border-top: 1px solid var(--line);
}

.notes-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: 80px;
  align-items: start;
}

.notes-lead {
  margin: 0;
  font-family: "Inter Tight", Inter, sans-serif;
  font-size: clamp(26px, 3.1vw, 42px);
  font-weight: 700;
  line-height: 1.28;
  letter-spacing: -0.025em;
  max-width: 520px;
}

.mode-list { display: flex; flex-direction: column; }

.mode-item {
  padding: 28px 0;
  border-bottom: 1px solid var(--line);
}

.mode-item:first-child { padding-top: 0; }

.mode-item-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 12px;
}

.mode-item h3 {
  font-family: "Inter Tight", Inter, sans-serif;
  font-size: clamp(28px, 3.4vw, 48px);
  font-weight: 800;
  letter-spacing: -0.035em;
  line-height: 1;
}

.mode-item-row span {
  font-size: 13px;
  color: var(--lime);
  letter-spacing: 0.08em;
}

.mode-item p {
  max-width: 560px;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.75;
}

.on-lime .mode-item a {
  color: #111;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.privacy-rules h2,
.faq h2 {
  font-family: "Inter Tight", Inter, sans-serif;
  font-size: clamp(42px, 6vw, 80px);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 0.92;
  margin: 10px 0 20px;
}

.privacy-rules h2 em,
.faq h2 em {
  font-style: normal;
  color: var(--lime);
}

.privacy-section-lead {
  max-width: 560px;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.75;
  margin-bottom: 56px;
}

.rule-list {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 40px 32px;
}

.stat-label {
  font-size: 13px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #f0f0f0;
  margin-bottom: 8px;
}

.stat-value {
  font-size: 22px;
  font-weight: 600;
  letter-spacing: -0.02em;
  margin-bottom: 14px;
}

.stat-value.live {
  color: var(--lime);
  display: flex;
  align-items: center;
  gap: 8px;
}

.dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--lime);
  box-shadow: 0 0 8px var(--lime);
}

.rule-item p {
  color: var(--muted);
  font-size: 15px;
  line-height: 1.7;
}

.rule-item a {
  color: var(--lime);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.faq {
  padding: 80px var(--pad) 80px;
}

.faq-item {
  border-top: 1px solid #1f1f1f;
}

.faq-item:last-child { border-bottom: 1px solid #1f1f1f; }

.faq-q {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  padding: 26px 0;
  text-align: left;
  font-size: clamp(18px, 2vw, 24px);
  font-weight: 600;
  letter-spacing: -0.02em;
}

.faq-q:hover { color: var(--lime); }

.plus {
  width: 28px;
  height: 28px;
  position: relative;
  flex-shrink: 0;
}

.plus::before,
.plus::after {
  content: "";
  position: absolute;
  background: currentColor;
}

.plus::before { top: 13px; left: 5px; right: 5px; height: 1px; }
.plus::after { left: 13px; top: 5px; bottom: 5px; width: 1px; transition: transform .25s; }

.faq-item.open .plus::after { transform: scaleY(0); }

.faq-a {
  display: none;
  padding: 0 80px 26px 0;
  color: #eeeeee;
  font-size: 16px;
  line-height: 1.75;
  max-width: 820px;
}

.faq-item.open .faq-a { display: block; }

.faq-a a {
  color: var(--lime);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.cta {
  padding: 80px var(--pad) 110px;
  border-top: 1px solid var(--line);
}

.cta-kicker {
  font-size: 13px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gray);
  margin-bottom: 28px;
}

.cta-title {
  font-family: "Inter Tight", Inter, sans-serif;
  font-size: clamp(56px, 11vw, 148px);
  font-weight: 900;
  letter-spacing: -0.05em;
  line-height: 0.86;
  text-transform: uppercase;
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}

.cta-title .g { color: var(--lime); }
.cta-title .arrow {
  font-weight: 400;
  font-size: 0.72em;
}

.on-lime .cta-title .w,
.on-lime .cta-title .g,
.on-lime .cta-title .arrow { color: #111; }

.on-lime .sec-kicker,
.on-lime .cta-kicker {
  color: #111;
}

.on-lime .mode-item-row span { color: #111; }

.on-lime .privacy-rules h2 em,
.on-lime .faq h2 em { color: #111; }

.cta-row {
  margin-top: 56px;
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 32px;
}

.cta-row p {
  max-width: 420px;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.7;
}

.cta-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.toast {
  position: fixed;
  left: 50%;
  bottom: 32px;
  transform: translateX(-50%) translateY(12px);
  z-index: 200;
  padding: 12px 20px;
  border: 1px solid var(--lime);
  background: #000;
  color: var(--lime);
  font-size: 13px;
  letter-spacing: 0.06em;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.toast.is-visible {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

@media (max-width: 1100px) {
  .privacy-intro,
  .notes-grid,
  .rule-list {
    grid-template-columns: 1fr;
    gap: 36px;
  }
}

@media (max-width: 720px) {
  .privacy-hero { padding-bottom: 48px; }
  .workspace-bar { align-items: flex-start; }
  .cta-row {
    flex-direction: column;
    align-items: flex-start;
  }
  .faq-a { padding-right: 0; }
  .result-item {
    grid-template-columns: 32px minmax(0, 1fr);
  }
  .result-copy { grid-column: 2; }
}
