/* Decorative paper and device illustrations; actual app demos stay separate. */
.privacy-grid {
  gap: 22px;
}
.privacy-grid .feature-card {
  container-type: inline-size;
  display: grid;
  grid-template-rows: 32px minmax(56px, auto) minmax(46px, auto) 208px 20px;
  row-gap: 12px;
  padding: 29px 28px 25px;
  border: 1px solid #ffffff55;
  border-radius: 28px;
  min-height: 466px;
  box-shadow: inset 0 1px 0 #ffffff5c;
}
.privacy-grid .feature-card.grain::after {
  opacity: 0.12;
}
.privacy-grid .mint-card {
  background:
    radial-gradient(ellipse at 0 0, #eff7dfb3, transparent 65%),
    linear-gradient(145deg, #d1e9d1, #c3e0c9);
}
.privacy-grid .lilac-card {
  background:
    radial-gradient(ellipse at 5% 0, #f5edff80, transparent 65%),
    linear-gradient(145deg, #e9def5, #dbd0ed);
}
.privacy-grid .butter-card {
  background:
    radial-gradient(ellipse at 10% 0, #fff7d5bf, transparent 65%),
    linear-gradient(145deg, #f9eabc, #f2dfa5);
}
.privacy-grid .feature-icon {
  width: 29px;
  height: 29px;
  margin: 0;
  stroke-width: 1.6;
  color: #35493b;
}
.privacy-grid .lilac-card .feature-icon {
  color: #56436a;
}
.privacy-grid .butter-card .feature-icon {
  color: #776025;
}
.privacy-grid .feature-card h3 {
  font-size: 23px;
  line-height: 1.22;
  letter-spacing: -0.65px;
  align-self: start;
}
.privacy-grid .feature-card > p {
  margin: 0;
  font-size: 14px;
  line-height: 1.65;
  letter-spacing: -0.1px;
  color: #536758;
}
.privacy-grid .lilac-card > p {
  color: #6b5b7b;
}
.privacy-grid .butter-card > p {
  color: #7c6a37;
}
.privacy-grid .card-bottom {
  margin: 0;
  padding: 0;
  align-self: center;
  font-size: 11px;
  line-height: 1.6;
  color: #516b58;
}
.privacy-grid .lilac-card .card-bottom {
  color: #6b597a;
}
.privacy-grid .butter-card .card-bottom {
  color: #78612e;
}
.privacy-grid .card-link {
  gap: 12px;
}
.privacy-grid .card-link > span {
  display: grid;
  place-items: center;
  width: 25px;
  height: 25px;
  border-radius: 50%;
  background: #ffffff5e;
  transition:
    transform 0.25s var(--motion-ease),
    background 0.25s;
}
.privacy-grid .card-link:hover > span {
  transform: translate(2px, -2px);
  background: #ffffffa8;
}

/* A single composed still life, with an image worth keeping at its heart. */
.privacy-grid .clip-stack {
  width: 100%;
  max-width: 305px;
  height: 208px;
  margin: 0 auto;
  align-self: center;
  overflow: visible;
}
.privacy-grid .clip-stack > div {
  position: absolute;
  top: auto;
  border-radius: 10px;
  overflow: visible;
}
.privacy-grid .stack-backing {
  width: 73%;
  height: 164px;
  left: 9%;
  top: 14px;
  rotate: 3deg;
  background: #eff4df;
  box-shadow: 0 6px 12px -8px #31553a50;
  border: 1px solid #fff7;
}
.privacy-grid .stack-photo {
  width: 76%;
  height: 174px;
  left: 3%;
  top: 11px;
  rotate: -7deg;
  padding: 7px 7px 28px;
  background: #fffefa;
  border: 1px solid #f5f7ec;
  box-shadow:
    0 14px 22px -12px #34553e77,
    0 2px 4px #36553b0c;
}
.privacy-grid .stack-photo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 48%;
  border-radius: 4px;
}
.privacy-grid .stack-photo > span {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 3px 0;
  color: #7d8075;
  font-size: 9px;
  letter-spacing: 0.05px;
  line-height: 1;
  white-space: nowrap;
}
.privacy-grid .stack-photo i {
  font-size: 12px;
  font-style: normal;
}
.privacy-grid .stack-text {
  width: 61%;
  height: 109px;
  top: auto;
  right: -1%;
  bottom: 5px;
  padding: 15px 16px 12px;
  gap: 7px;
  rotate: 6deg;
  background: #fffdf0;
  border: 1px solid #ffffffb3;
  box-shadow:
    0 13px 20px -13px #294c3880,
    0 2px 3px #36553b0a;
}
.privacy-grid .stack-text small {
  font-size: 8px;
  font-weight: 500;
  letter-spacing: 1.3px;
  color: #8a8c72;
}
.privacy-grid .stack-text > span:not(.paper-clip) {
  display: block;
  font-size: clamp(15px, 5.9cqw, 18px);
  font-weight: 600;
  line-height: 1.3;
  letter-spacing: -0.45px;
  color: #334e3c;
  white-space: nowrap;
}
.privacy-grid .note-underline {
  display: block;
  width: 58px;
  height: 3px;
  background: #d4dfb5;
  border-radius: 50%;
  rotate: -2deg;
  margin-top: 1px;
}
.privacy-grid .paper-clip {
  position: absolute;
  top: -13px;
  right: 19px;
  width: 12px;
  height: 30px;
  border: 2px solid #9da58e;
  border-radius: 7px;
  rotate: 8deg;
  box-shadow: 1px 1px 1px #fff8;
}
.privacy-grid .paper-clip::after {
  content: "";
  position: absolute;
  left: 3px;
  top: 3px;
  width: 5px;
  height: 20px;
  border-left: 1.5px solid #9da58e;
  border-bottom: 1.5px solid #9da58e;
  border-radius: 0 0 0 5px;
}

/* Matching visual weight and baselines across the other two illustrations. */
.privacy-grid :is(.local-art, .cloud-art) {
  position: relative;
  height: 208px;
  margin: 0;
  gap: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
}
.feature-art-tile {
  display: grid;
  place-items: center;
  position: relative;
  z-index: 1;
  flex: none;
  width: 88px;
  height: 88px;
  border: 1px solid #ffffffa1;
  border-radius: 26px;
  background: linear-gradient(145deg, #fcf9ffdb, #efe5faad);
  box-shadow:
    0 16px 32px -16px #8b6daa70,
    inset 0 1px 0 #fff;
  animation: paper-float 6s ease-in-out infinite;
}
.feature-art-tile > svg {
  width: 38px;
  height: 38px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
  color: #80639e;
}
.privacy-grid .local-orbit {
  width: 154px;
  height: 154px;
  top: 1px;
  border: 1px solid #a18db426;
}
.privacy-grid .local-orbit.orbit-two {
  width: 204px;
  height: 204px;
  top: -24px;
  border-style: dashed;
  border-color: #a18db42b;
}
.privacy-grid .local-orbit::before {
  width: 4px;
  height: 4px;
  top: -2px;
  background: #ad94c1a6;
}
.privacy-grid .local-art-caption {
  display: flex;
  gap: 6px;
  align-items: center;
  position: relative;
  z-index: 1;
  font-size: 10px;
  color: #7e6895;
  margin-top: 24px;
  padding: 6px 9px;
  border-radius: 20px;
  background: #eee3f4a8;
}
.local-art-caption > i {
  display: inline-block;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #a48eb9;
}
.cloud-art .feature-art-tile {
  background: linear-gradient(145deg, #fffbebed, #fff4d1c4);
  border-color: #fff9;
  box-shadow:
    0 16px 32px -16px #aa8b3870,
    inset 0 1px 0 #fff;
  animation-delay: -2s;
}
.cloud-art .feature-art-tile > svg {
  width: 43px;
  height: 43px;
  color: #ac8b3d;
}
.cloud-art-ring {
  position: absolute;
  width: 168px;
  height: 168px;
  top: -6px;
  border: 1px solid #b89b4426;
  border-radius: 50%;
  background: radial-gradient(circle, #fff6 0%, transparent 70%);
}
.cloud-devices {
  display: flex;
  gap: 7px;
  align-items: center;
  position: relative;
  z-index: 1;
  margin-top: 25px;
}
.cloud-devices > span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  padding: 6px 8px;
  border-radius: 8px;
  background: #fff8;
  border: 1px solid #ffffff59;
  color: #8d7434;
  font-size: 9px;
  white-space: nowrap;
}
.cloud-devices > span > svg {
  width: 14px;
  height: 14px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.4;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.privacy-grid .cloud-devices > i {
  font-size: 11px;
  font-style: normal;
  color: #af9551;
}

@media (min-width: 641px) and (max-width: 1023px) {
  .privacy-grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }
  .privacy-grid .feature-card {
    grid-template-columns: minmax(0, 1fr) minmax(230px, 0.95fr);
    grid-template-rows: 32px auto auto 24px;
    grid-template-areas: "icon art" "title art" "body art" "footer art";
    column-gap: 28px;
    min-height: 290px;
    padding: 28px 32px;
  }
  .privacy-grid .feature-icon {
    grid-area: icon;
  }
  .privacy-grid .feature-card h3 {
    grid-area: title;
    align-self: center;
  }
  .privacy-grid .feature-card > p {
    grid-area: body;
  }
  .privacy-grid :is(.clip-stack, .local-art, .cloud-art) {
    grid-area: art;
    align-self: center;
  }
  .privacy-grid .card-bottom {
    grid-area: footer;
  }
}
@media (max-width: 640px) {
  .privacy-grid {
    gap: 18px;
  }
  .privacy-grid .feature-card {
    padding: 28px;
    grid-template-rows: 30px auto minmax(46px, auto) 208px 20px;
    min-height: 440px;
  }
  .privacy-grid .feature-card h3 {
    font-size: 24px;
  }
  .privacy-grid .feature-card > p {
    font-size: 14px;
  }
  .privacy-grid .clip-stack {
    max-width: 280px;
  }
}
@media (max-width: 359px) {
  .privacy-grid .feature-card {
    padding-inline: 22px;
  }
  .privacy-grid .feature-card h3 {
    font-size: 22px;
  }
  .privacy-grid .stack-text {
    width: 64%;
    padding-inline: 12px;
  }
  .privacy-grid .stack-text > span:not(.paper-clip) {
    font-size: 16px;
  }
  .cloud-devices {
    gap: 5px;
  }
  .cloud-devices > span {
    padding-inline: 6px;
  }
}
