/* Why Dawnis explainer — used on the homepage and /why */
.why-lead { max-width: 720px; }
.why-points {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 16px;
  margin: 8px 0 36px;
}
.why-points details.card {
  padding: 0;
  overflow: hidden;
}
.why-points summary {
  list-style: none;
  cursor: pointer;
  padding: 20px 22px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 12px 14px;
  align-items: start;
}
.why-points summary::-webkit-details-marker { display: none; }
.why-points summary:focus { outline: none; }
.why-points summary:focus-visible {
  outline: 2px solid var(--c3);
  outline-offset: -4px;
}
.why-points .why-ic {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: #1a0f2e;
  border: 1px solid var(--line);
  display: grid;
  place-items: center;
  font-size: 20px;
  line-height: 1;
}
.why-points summary h3 {
  margin: 0;
  font-size: 18px;
  line-height: 1.3;
}
.why-points summary .why-tease {
  grid-column: 2;
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}
.why-chevron {
  width: 10px;
  height: 10px;
  margin-top: 8px;
  border-right: 2px solid var(--c2);
  border-bottom: 2px solid var(--c2);
  transform: rotate(45deg);
  transition: transform .2s ease;
  justify-self: end;
}
.why-points details[open] .why-chevron {
  transform: rotate(225deg);
  margin-top: 12px;
}
.why-points .why-body {
  padding: 0 22px 20px 80px;
  margin: 0;
  color: #f3dfe0;
}
.why-points .why-body p { margin: 0 0 10px; }
.why-points .why-body p:last-child { margin-bottom: 0; }
.why-flag {
  display: inline-block;
  background: #4a2350;
  color: #ffd2bf;
  border-radius: 999px;
  padding: 2px 9px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .02em;
  vertical-align: middle;
  margin-left: 6px;
}
.why-flag.test {
  background: #2a3a28;
  color: #c8f0c8;
}
.why-clips {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin: 8px 0 40px;
}
.why-clip {
  margin: 0;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 16px;
  overflow: hidden;
}
.why-clip-stage {
  background: #140a24;
  aspect-ratio: 16 / 10;
  display: grid;
  place-items: center;
  padding: 12px;
}
.why-clip-stage svg {
  width: 100%;
  height: 100%;
  max-height: 200px;
}
.why-clip figcaption {
  padding: 12px 16px 14px;
  font-size: 14px;
  color: var(--muted);
}
.why-compare-toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 16px;
  align-items: center;
}
.why-compare-toolbar legend {
  font-weight: 700;
  margin-right: 8px;
  padding: 0;
}
.why-compare-toolbar fieldset {
  border: 0;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}
.why-tab {
  font: inherit;
  font-size: 14px;
  font-weight: 600;
  color: var(--fg);
  background: transparent;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 6px 14px;
  cursor: pointer;
}
.why-tab:hover, .why-tab:focus-visible {
  border-color: var(--c2);
  outline: none;
}
.why-compare-toolbar input:focus-visible + .why-tab,
.why-tab:focus-visible {
  outline: 2px solid var(--c3);
  outline-offset: 2px;
}
.why-compare-toolbar input {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  border: 0;
  opacity: 0;
  pointer-events: none;
}
.why-compare-toolbar input:checked + .why-tab {
  background: linear-gradient(90deg, #ff7a59, #ffc857);
  color: #2a1200;
  border-color: transparent;
}
.why-table-wrap {
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--card);
  -webkit-overflow-scrolling: touch;
}
.why-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 760px;
  font-size: 15px;
}
.why-table caption {
  text-align: left;
  padding: 16px 18px 8px;
  font-weight: 700;
  font-size: 16px;
  caption-side: top;
  color: var(--fg);
}
.why-table th, .why-table td {
  padding: 14px 16px;
  border-top: 1px solid var(--line);
  vertical-align: top;
  text-align: left;
}
.why-table thead th {
  background: #21133a;
  font-size: 14px;
  position: sticky;
  top: 0;
  z-index: 1;
}
.why-table tbody th {
  font-weight: 600;
  color: var(--fg);
  background: #241636;
  position: sticky;
  left: 0;
  z-index: 1;
  min-width: 150px;
  box-shadow: 8px 0 10px -8px rgba(0,0,0,.4);
}
.why-table .why-group td {
  background: #1a0f2e;
  font-weight: 800;
  letter-spacing: .04em;
  text-transform: uppercase;
  font-size: 12px;
  color: var(--c3);
  padding: 10px 16px;
}
.why-table .why-group td { position: sticky; left: 0; }
.why-sources {
  margin: 18px 0 0;
  font-size: 13px;
  color: var(--muted);
  max-width: 820px;
}
.why-sources ul { padding-left: 18px; }
.why-sources li { margin: 4px 0; }
.why-cta { margin-top: 36px; }
#why { background: var(--bg2); }
.why-page-hero { padding-top: 28px; }
@media (max-width: 720px) {
  .why-clips { grid-template-columns: 1fr; }
  .why-points .why-body { padding-left: 22px; }
  .why-points summary { grid-template-columns: auto 1fr auto; }
}
@media (prefers-reduced-motion: reduce) {
  .why-chevron { transition: none; }
  .why-clip-stage * {
    animation: none !important;
  }
  /* Show the completed frame of each clip */
  .clip-type { width: 22.2em !important; }
  .clip-file { opacity: 1 !important; transform: none !important; }
  .clip-reply { opacity: 1 !important; transform: none !important; }
  .clip-arrow { transform: none !important; opacity: 0 !important; }
  .clip-shield { opacity: 1 !important; }
}

/* Privacy clip */
@keyframes why-float1 {
  0%, 100% { transform: translate(0, 0); }
  50% { transform: translate(18px, 10px); }
}
@keyframes why-float2 {
  0%, 100% { transform: translate(0, 0); }
  50% { transform: translate(-16px, 14px); }
}
@keyframes why-float3 {
  0%, 100% { transform: translate(0, 0); }
  50% { transform: translate(-10px, -16px); }
}
@keyframes why-pulse {
  0%, 100% { transform: scale(1); opacity: .9; }
  50% { transform: scale(1.08); opacity: 1; }
}
@keyframes why-arrow {
  0%, 12% { transform: translateX(0); opacity: .2; }
  40% { transform: translateX(42px); opacity: 1; }
  48% { transform: translateX(42px); opacity: 0; }
  55% { transform: translateX(0); opacity: 0; }
  100% { transform: translateX(0); opacity: .2; }
}
@keyframes why-shield {
  0%, 38% { opacity: .35; }
  44%, 55% { opacity: 1; }
  70%, 100% { opacity: .35; }
}
.clip-dot.d1 { animation: why-float1 5s ease-in-out infinite; }
.clip-dot.d2 { animation: why-float2 6s ease-in-out infinite; }
.clip-dot.d3 { animation: why-float3 7s ease-in-out infinite; }
.clip-lock { transform-origin: 130px 96px; animation: why-pulse 2.8s ease-in-out infinite; }
.clip-arrow { animation: why-arrow 4.5s ease-in-out infinite; }
.clip-shield { animation: why-shield 4.5s ease-in-out infinite; }

/* Speed clip */
@keyframes why-reply {
  0%, 18% { opacity: 0; transform: translateY(8px); }
  28%, 78% { opacity: 1; transform: none; }
  88%, 100% { opacity: 0; transform: translateY(8px); }
}
@keyframes why-flash {
  0%, 22% { opacity: 0; }
  28% { opacity: .7; }
  40%, 100% { opacity: 0; }
}
.clip-reply { animation: why-reply 5s ease-in-out infinite; }
.clip-flash { animation: why-flash 5s ease-in-out infinite; }

/* Acts-for-you clip */
@keyframes why-type {
  0%, 8% { width: 0; }
  40%, 78% { width: 22.2em; }
  90%, 100% { width: 0; }
}
@keyframes why-file {
  0%, 38% { opacity: 0; transform: translateY(10px); }
  50%, 82% { opacity: 1; transform: none; }
  92%, 100% { opacity: 0; transform: translateY(10px); }
}
.clip-type {
  display: inline-block;
  overflow: hidden;
  white-space: nowrap;
  width: 0;
  animation: why-type 6s steps(28, end) infinite;
  vertical-align: bottom;
}
.clip-caret {
  display: inline-block;
  width: 2px;
  height: 1em;
  background: var(--c3);
  margin-left: 2px;
  animation: why-pulse 1s steps(1, end) infinite;
  vertical-align: -2px;
}
.clip-file { animation: why-file 6s ease-in-out infinite; }

#why, #compare, #why-points, #why-clips, #sources, #why-private, #why-money, #why-speed, #why-acts, #why-family, #why-compare {
  scroll-margin-top: calc(var(--header-h, 64px) + 12px);
}
#why .wrap, #compare .wrap, #why-points .wrap, #why-clips .wrap, .why-page-hero .wrap {
  max-width: min(1150px, 100%);
  min-width: 0;
}
.why-compare, .why-table-wrap {
  min-width: 0;
  max-width: 100%;
}
.why-swipe {
  display: none;
  margin: 0 0 10px;
  font-size: 13px;
  color: var(--muted);
}
@media (max-width: 720px) {
  .why-table-wrap {
    overflow: visible;
    border: 0;
    background: transparent;
    border-radius: 0;
  }
  .why-table {
    min-width: 0;
    width: 100%;
    font-size: 14px;
    border-collapse: separate;
    border-spacing: 0;
  }
  .why-table caption {
    padding: 0 0 12px;
  }
  .why-table thead {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
  }
  .why-table tbody, .why-table tr, .why-table th, .why-table td {
    display: block;
    width: 100%;
    position: static;
    box-shadow: none;
    min-width: 0;
  }
  .why-table tr[data-topic]:not(.why-group) {
    background: var(--card);
    border: 1px solid var(--line);
    border-radius: 16px;
    margin: 0 0 14px;
    overflow: hidden;
  }
  .why-table tr[data-topic]:not(.why-group) th, .why-table tr[data-topic]:not(.why-group) td {
    border-top: 0;
    border-bottom: 1px solid var(--line);
    padding: 12px 16px;
  }
  .why-table tr[data-topic]:not(.why-group) td:last-child { border-bottom: 0; }
  .why-table tbody th {
    background: #21133a;
    font-size: 16px;
  }
  .why-table td::before {
    content: attr(data-label);
    display: block;
    font-weight: 700;
    color: var(--c3);
    font-size: 11px;
    letter-spacing: .04em;
    text-transform: uppercase;
    margin-bottom: 4px;
  }
  .why-table .why-group {
    background: transparent;
    border: 0;
    margin: 8px 0 6px;
    padding: 0;
  }
  .why-table .why-group td {
    background: transparent;
    border: 0;
    padding: 8px 4px;
  }
}

