/* Privacy: one heading, then a local-data diagram aligned with four clear promises. */
.privacy-panel { overflow: hidden; }
.privacy-layout { display: grid; gap: clamp(28px, 4vw, 44px); }
/* One header for the whole block: the label sits in the corner, the title runs across the panel. */
.privacy-panel > .privacy-layout { padding-block: clamp(36px, 4.6vw, 60px) clamp(40px, 6vw, 80px); }
.privacy-heading { display: grid; justify-items: start; row-gap: 14px; }
.privacy-heading .eyebrow { margin-bottom: clamp(6px, 1.4vw, 18px); }
.privacy-heading h2 { margin: 0; max-width: none; text-wrap: balance; }
.privacy-heading .lede { margin: 0; max-width: 40em; color: rgba(255, 253, 250, 0.82); }
.privacy-body { display: grid; grid-template-columns: minmax(250px, 0.75fr) minmax(0, 1.25fr); gap: 32px; align-items: center; }
.privacy-layout :is(header, article, p, h3), .privacy-body > * { min-width: 0; }
.privacy-plot { --phone-w: min(264px, 100cqw); container-type: inline-size; width: 100%; max-width: 340px; margin-inline: auto; display: flex; flex-direction: column; align-items: center; }
.privacy-cloud { position: relative; display: flex; align-items: center; gap: 12px; width: min(280px, 100%); padding: 13px 16px; border: 1px solid rgba(255, 253, 250, 0.12); border-radius: 18px; background: rgba(255, 253, 250, 0.055); font-size: 13px; font-weight: 600; line-height: 1.4; color: rgba(255, 253, 250, 0.8); transition: border-color 0.5s ease, background-color 0.5s ease, box-shadow 0.6s ease; }
.privacy-cloud .icon { flex: none; width: 25px; height: 25px; color: var(--lime); transition: transform 0.5s var(--spring); }
.privacy-cloud.is-receiving { border-color: rgba(203, 255, 47, 0.45); background-color: rgba(203, 255, 47, 0.08); box-shadow: 0 0 0 4px rgba(203, 255, 47, 0.06), 0 10px 40px -12px rgba(203, 255, 47, 0.45); }
.privacy-cloud.is-receiving .icon { transform: translateY(-2px) scale(1.08); }
.privacy-connector { position: relative; width: 1px; height: 52px; background: repeating-linear-gradient(to bottom, rgba(255, 253, 250, 0.3) 0 3px, transparent 3px 7px); }
.privacy-packet { position: absolute; left: -3px; bottom: 0; width: 7px; height: 20px; border-radius: 4px; background: linear-gradient(to top, rgba(203, 255, 47, 0), var(--lime)); box-shadow: 0 0 10px rgba(203, 255, 47, 0.7); opacity: 0; }
/* The consent gate: a tiny switch that is off unless the runner allows it. */
.privacy-gate { position: absolute; top: 15px; left: 50%; translate: -50% 0; z-index: 1; width: 36px; height: 22px; border: 1px solid rgba(255, 253, 250, 0.22); border-radius: 12px; background: #1B1C21; color: var(--ink); transition: background-color 0.35s ease, border-color 0.35s ease, box-shadow 0.35s ease; }
.privacy-gate .icon { position: absolute; top: 2px; left: 2px; width: 16px; height: 16px; padding: 3px; border-radius: 50%; background: rgba(255, 253, 250, 0.82); stroke-width: 2.4; transition: translate 0.45s var(--spring), background-color 0.35s ease; }
.privacy-gate.is-on { border-color: var(--lime); background: var(--lime); box-shadow: 0 0 18px rgba(203, 255, 47, 0.45); }
.privacy-gate.is-on .icon { translate: 14px 0; background: var(--ink); color: var(--lime); }
/* An iPhone-proportioned frame: tall, rounded, with an island and side keys. */
.privacy-phone { position: relative; display: grid; grid-template-rows: minmax(0, 1fr) auto; justify-items: center; width: var(--phone-w); aspect-ratio: 264 / 540; padding: 48px 12px 16px; border: 2px solid rgba(255, 253, 250, 0.7); border-radius: 46px; background: radial-gradient(120% 55% at 50% 50%, rgba(203, 255, 47, 0.075), transparent 62%), linear-gradient(160deg, #1D1E24 0%, #121318 60%, #0F1014 100%); box-shadow: inset 0 0 0 5px #0B0C10, inset 0 0 0 6px rgba(255, 253, 250, 0.06), 0 40px 80px -40px rgba(0, 0, 0, 0.8), 0 0 0 1px rgba(0, 0, 0, 0.4); transform: perspective(900px) rotateX(var(--tilt-x, 0deg)) rotateY(var(--tilt-y, 0deg)); transition: transform 0.6s var(--ease); }
.privacy-phone::before { content: ""; position: absolute; top: 16px; left: 50%; translate: -50% 0; width: 66px; height: 20px; border-radius: 12px; background: #040406; box-shadow: inset 0 0 0 1px rgba(255, 253, 250, 0.06); }
.privacy-phone::after { content: ""; position: absolute; top: 116px; right: -5px; width: 3px; height: 54px; border-radius: 0 3px 3px 0; background: rgba(255, 253, 250, 0.5); box-shadow: calc(-5px - var(--phone-w)) -26px 0 rgba(255, 253, 250, 0.5), calc(-5px - var(--phone-w)) 34px 0 rgba(255, 253, 250, 0.5); }
.privacy-phone.is-tilting { transition: transform 0.18s linear; }
/* Inside the phone: six kinds of data at the top, the lock in the middle, today's plan at the bottom. */
.privacy-local { position: relative; display: flex; flex-direction: column; gap: 8px; width: 100%; height: 100%; min-height: 0; }
.privacy-flow { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; pointer-events: none; }
.privacy-flow-track { fill: none; stroke: rgba(255, 253, 250, 0.13); stroke-width: 1; stroke-dasharray: 2 4; }
.privacy-flow-beam { fill: none; stroke-width: 2.6; stroke-linecap: round; opacity: 0; filter: drop-shadow(0 0 3px currentColor) drop-shadow(0 0 7px currentColor); }
.privacy-inputs { position: relative; z-index: 1; display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; padding-top: 2px; }
.privacy-chip { --chip: var(--lime); position: relative; display: inline-flex; align-items: center; gap: 5px; max-width: 100%; padding: 6px 9px; border: 1px solid rgba(255, 253, 250, 0.11); border-radius: 10px; background: rgba(37, 38, 44, 0.95); color: var(--ivory); font-size: 11.5px; font-weight: 650; line-height: 1.2; box-shadow: 0 6px 16px -10px rgba(0, 0, 0, 0.8); transition: border-color 0.4s ease, box-shadow 0.4s ease, opacity 0.5s ease, scale 0.6s var(--spring); animation: privacy-bob 6s ease-in-out infinite; animation-play-state: paused; }
.privacy-chip .icon { flex: none; width: 12px; height: 12px; color: var(--chip); }
.privacy-chip::after { content: ""; position: absolute; top: -3px; right: -3px; width: 8px; height: 8px; border-radius: 50%; background: #FFB547; box-shadow: 0 0 0 2px #17181D, 0 0 10px rgba(255, 181, 71, 0.8); opacity: 0; scale: 0.3; transition: opacity 0.3s ease, scale 0.45s var(--spring); }
.privacy-chip--sleep { --chip: #C2ABFF; }
.privacy-chip--heart { --chip: #FF6E99; animation-delay: -1s; }
.privacy-chip--heart .icon { fill: currentColor; stroke: none; }
.privacy-chip--hrv { --chip: #FF9F6E; animation-delay: -2s; }
.privacy-chip--runs { --chip: var(--lime); animation-delay: -3s; }
.privacy-chip--feel { --chip: #7EE0C3; animation-delay: -4s; }
.privacy-chip--weather { --chip: #FFD15C; animation-delay: -5s; }
.privacy-chip.is-sending { border-color: color-mix(in srgb, var(--chip) 70%, transparent); box-shadow: 0 0 0 3px color-mix(in srgb, var(--chip) 16%, transparent), 0 8px 24px -8px color-mix(in srgb, var(--chip) 55%, transparent); }
.privacy-chip.is-flagged { border-color: rgba(255, 181, 71, 0.75); }
.privacy-chip.is-flagged::after { opacity: 1; scale: 1; }
.privacy-core { position: relative; flex: 1 1 auto; min-height: 112px; }
.privacy-orbit { position: absolute; top: 50%; left: 50%; width: 112px; height: 112px; translate: -50% -50%; border: 1px solid rgba(255, 253, 250, 0.1); border-radius: 50%; }
.privacy-orbit::before { content: ""; position: absolute; inset: -9px; border: 1px dashed rgba(203, 255, 47, 0.26); border-radius: 50%; animation: privacy-orbit-turn 40s linear infinite; animation-play-state: paused; }
.privacy-orbit::after { content: ""; position: absolute; inset: 18px; border-radius: 50%; background: radial-gradient(circle, rgba(203, 255, 47, 0.18), transparent 70%); animation: privacy-glow 4.8s ease-in-out infinite; animation-play-state: paused; }
.privacy-ripple { position: absolute; top: 50%; left: 50%; width: 58px; height: 58px; margin: -29px 0 0 -29px; border: 1.5px solid var(--lime); border-radius: 19px; opacity: 0; pointer-events: none; }
.privacy-lock { position: absolute; left: 50%; top: 50%; translate: -50% -50%; z-index: 1; display: grid; place-items: center; width: 58px; height: 58px; border-radius: 19px; background: linear-gradient(160deg, #DBFF6A, var(--lime) 55%, #B4EA12); color: var(--ink); box-shadow: 0 0 0 6px rgba(203, 255, 47, 0.07), 0 14px 34px -10px rgba(203, 255, 47, 0.55), inset 0 1px 0 rgba(255, 255, 255, 0.55); }
.privacy-lock .icon { width: 27px; height: 27px; }
.privacy-lock-shackle { transition: transform 0.42s var(--spring); }
.privacy-lock.is-open .privacy-lock-shackle { transform: translateY(-3.5px); }
/* Today's plan: both versions sit in the same cell, so the card never changes size. */
.privacy-plan { position: relative; z-index: 1; display: grid; gap: 8px; padding: 12px 12px 13px; border: 1px solid rgba(255, 253, 250, 0.12); border-radius: 18px; background: linear-gradient(160deg, rgba(42, 43, 50, 0.96), rgba(28, 29, 35, 0.96)); box-shadow: 0 14px 30px -18px rgba(0, 0, 0, 0.9); transition: border-color 0.5s ease, box-shadow 0.6s ease, opacity 0.6s ease, translate 0.7s var(--ease); }
.privacy-plan.is-updating { border-color: rgba(203, 255, 47, 0.55); box-shadow: 0 0 0 3px rgba(203, 255, 47, 0.08), 0 12px 32px -12px rgba(203, 255, 47, 0.45); }
.privacy-plan-head { display: flex; flex-direction: column; align-items: flex-start; gap: 6px; }
.privacy-plan-label { color: rgba(255, 253, 250, 0.6); font-size: 10.5px; font-weight: 750; letter-spacing: 0.06em; line-height: 1.2; text-transform: uppercase; }
.privacy-plan-swap { display: grid; justify-items: start; }
/* The old words leave first, then the new ones come in, so the two never overlap. */
.privacy-plan-swap > * { grid-area: 1 / 1; transition: opacity 0.35s ease 0.25s, translate 0.5s var(--ease) 0.25s; }
.privacy-local[data-scene="full"] .privacy-plan-swap > [data-for="light"], .privacy-local[data-scene="light"] .privacy-plan-swap > [data-for="full"] { opacity: 0; translate: 0 -5px; transition-duration: 0.22s; transition-delay: 0s; }
.privacy-plan-badge { padding: 3px 8px; border-radius: 999px; background: rgba(203, 255, 47, 0.15); color: var(--lime); font-size: 10.5px; font-weight: 750; line-height: 1.25; white-space: nowrap; }
.privacy-plan-badge--light { background: rgba(255, 181, 71, 0.16); color: #FFC46B; }
.privacy-plan-session { color: var(--ivory); font-size: 14px; font-weight: 750; line-height: 1.25; letter-spacing: -0.01em; }
.privacy-plan-strip { display: flex; gap: 3px; height: 8px; }
.privacy-round { flex: 1 1 0; border-radius: 3px; background: linear-gradient(to right, var(--lime) 0 57%, rgba(255, 253, 250, 0.2) 57% 100%); transition: opacity 0.5s ease, filter 0.5s ease; }
[dir="rtl"] .privacy-round { background: linear-gradient(to left, var(--lime) 0 57%, rgba(255, 253, 250, 0.2) 57% 100%); }
.privacy-local[data-scene="light"] .privacy-round--extra { opacity: 0.2; filter: grayscale(1); }
.privacy-plan-why { color: rgba(255, 253, 250, 0.68); font-size: 11.5px; line-height: 1.35; }
.privacy-phone-label { position: relative; margin-top: 8px; padding-bottom: 12px; text-align: center; color: rgba(255, 253, 250, 0.62); font-size: 12px; font-weight: 650; }
.privacy-phone-label::after { content: ""; position: absolute; bottom: 0; left: 50%; translate: -50% 0; width: 84px; height: 4px; border-radius: 3px; background: rgba(255, 253, 250, 0.32); }
/* Entrance: the phone settles, the data pops in one kind at a time, the lock snaps shut, the plan rises. */
.privacy-enhanced .privacy-plot:not(.is-visible) .privacy-chip { opacity: 0; scale: 0.7; }
.privacy-enhanced .privacy-plot:not(.is-visible) .privacy-plan { opacity: 0; translate: 0 14px; }
.privacy-enhanced .privacy-plot:not(.is-visible) .privacy-phone { transform: perspective(900px) rotateX(14deg) translateY(16px); }
.privacy-enhanced .privacy-plot:not(.is-visible) :is(.privacy-cloud, .privacy-connector) { opacity: 0; }
.privacy-cloud, .privacy-connector { transition-property: opacity, border-color, background-color, box-shadow; transition-duration: 0.6s; }
.privacy-plot.is-visible .privacy-connector { transition-delay: 1.7s; }
.privacy-plot.is-visible .privacy-cloud { transition-delay: 1.85s, 0s, 0s, 0s; }
.privacy-plot.is-visible .privacy-plan { transition-delay: 0s, 0s, 1.2s, 1.2s; }
.privacy-plot.is-visible .privacy-chip:nth-child(1) { transition-delay: 0s, 0s, 0.35s, 0.35s; }
.privacy-plot.is-visible .privacy-chip:nth-child(2) { transition-delay: 0s, 0s, 0.43s, 0.43s; }
.privacy-plot.is-visible .privacy-chip:nth-child(3) { transition-delay: 0s, 0s, 0.51s, 0.51s; }
.privacy-plot.is-visible .privacy-chip:nth-child(4) { transition-delay: 0s, 0s, 0.59s, 0.59s; }
.privacy-plot.is-visible .privacy-chip:nth-child(5) { transition-delay: 0s, 0s, 0.67s, 0.67s; }
.privacy-plot.is-visible .privacy-chip:nth-child(6) { transition-delay: 0s, 0s, 0.75s, 0.75s; }
.privacy-plot.is-active :is(.privacy-orbit, .privacy-chip), .privacy-plot.is-active .privacy-orbit::before, .privacy-plot.is-active .privacy-orbit::after { animation-play-state: running; }
.privacy-cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; align-self: stretch; }
.privacy-card { display: grid; grid-template-columns: 38px minmax(0, 1fr); column-gap: 12px; row-gap: 14px; align-content: start; padding: 22px; border: 1px solid rgba(255, 253, 250, 0.1); border-radius: 22px; background: rgba(255, 253, 250, 0.045); transition: opacity 0.65s ease, transform 0.7s var(--ease), border-color 0.25s, background 0.25s; }
.privacy-card:first-child { border-color: rgba(203, 255, 47, 0.2); background: linear-gradient(145deg, rgba(203, 255, 47, 0.065), rgba(255, 253, 250, 0.035)); }
.privacy-card h3 { align-self: center; margin: 0; font-size: 18px; line-height: 1.25; letter-spacing: -0.02em; text-wrap: balance; }
.privacy-card p { grid-column: 1 / -1; margin: 0; color: rgba(255, 253, 250, 0.78); font-size: 15px; line-height: 1.5; text-wrap: pretty; }
.privacy-card-icon { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 12px; background: rgba(203, 255, 47, 0.1); color: var(--lime); }
.privacy-card-icon .icon { width: 20px; height: 20px; }
.privacy-card:first-child .privacy-card-icon { background: var(--lime); color: var(--ink); }
.privacy-card:hover { border-color: rgba(203, 255, 47, 0.28); background-color: rgba(255, 253, 250, 0.065); }
.privacy-heading, .privacy-plot { transition: opacity 0.7s ease, transform 0.8s var(--ease); }
.privacy-enhanced [data-privacy-reveal]:not(.is-visible) { opacity: 0; transform: translateY(18px); }
.privacy-plot { transition-delay: 0.08s; }
.privacy-card:nth-child(2) { transition-delay: 0.07s; }
.privacy-card:nth-child(3) { transition-delay: 0.14s; }
.privacy-card:nth-child(4) { transition-delay: 0.21s; }
@keyframes privacy-orbit-turn { to { rotate: 360deg; } }
@keyframes privacy-glow { 0%, 100% { opacity: 0.45; scale: 0.9; } 50% { opacity: 1; scale: 1.08; } }
@keyframes privacy-bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-3px); } }
@media (max-width: 1000px) {
  .privacy-body { grid-template-columns: minmax(220px, 0.75fr) minmax(0, 1.25fr); gap: 24px; }
  .privacy-card { padding: 18px; column-gap: 10px; }
}
@media (max-width: 900px) {
  .privacy-body { grid-template-columns: 1fr; gap: 28px; }
  .privacy-cards { align-self: auto; }
}
@media (max-width: 560px) {
  .privacy-layout { gap: 28px; }
  .privacy-cards { grid-template-columns: 1fr; gap: 12px; }
  .privacy-card { padding: 20px; }
  .privacy-card p { font-size: 15px; }
}
@media (prefers-reduced-motion: reduce) {
  .privacy-orbit::before, .privacy-orbit::after, .privacy-chip { animation: none; }
  .privacy-phone, .privacy-chip, .privacy-chip::after, .privacy-cloud, .privacy-connector, .privacy-gate, .privacy-gate .icon, .privacy-lock-shackle, .privacy-plan, .privacy-plan-swap > *, .privacy-round { transition: none; }
  .privacy-enhanced .privacy-plot:not(.is-visible) :is(.privacy-chip, .privacy-cloud, .privacy-connector, .privacy-plan) { opacity: 1; scale: 1; translate: none; }
  .privacy-enhanced .privacy-plot:not(.is-visible) .privacy-phone { transform: none; }
  .privacy-heading, .privacy-plot, .privacy-card { transition: none; }
  .privacy-enhanced [data-privacy-reveal]:not(.is-visible) { opacity: 1; transform: none; }
}
