/* Encryption page and homepage encryption/language bands */

.subpage-header__nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 24px;
}

.subpage-header__nav > a {
  color: rgb(255 253 247 / 0.78);
  font-family: var(--display);
  font-size: 13px;
  font-weight: 570;
  text-decoration: none;
}

.subpage-header__nav > a:hover {
  color: var(--white);
  text-decoration: underline;
  text-decoration-color: var(--signal);
  text-decoration-thickness: 2px;
}

.encryption-page {
  background: var(--paper);
}

.security__links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 26px;
  margin-top: 26px;
}

.security__copy .security__links .text-link {
  margin-top: 0;
}

.languages__body {
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(320px, 0.88fr);
  align-items: start;
  gap: clamp(30px, 5vw, 64px);
  margin-top: clamp(36px, 5vw, 56px);
}

.languages__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.languages__grid li {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 5px;
  min-height: 45px;
  padding: 10px 11px;
  color: var(--ink);
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  font-family: var(--display);
  font-size: 13px;
  font-weight: 570;
  line-height: 1.25;
}

.languages__grid small {
  flex: none;
  color: var(--ink-soft);
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.03em;
}

.languages__shot {
  margin: 0;
  padding: 10px;
  border: 1px solid var(--line);
  background: var(--paper);
}

.languages__shot img {
  display: block;
  width: 100%;
  height: auto;
  border: 1px solid var(--line);
}

.languages__shot figcaption {
  padding: 11px 2px 0;
  color: var(--muted);
  font-family: var(--mono);
  font-size: 12px;
  line-height: 1.55;
}

.languages__note {
  max-width: 82ch;
  margin-top: 23px;
  padding-top: 18px;
  color: var(--muted);
  border-top: 1px solid var(--line);
  font-size: 12px;
  line-height: 1.65;
}

.languages__note a {
  color: var(--ink);
  text-decoration-color: var(--signal);
  text-decoration-thickness: 2px;
}

.enc-teaser__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin-top: clamp(36px, 5vw, 56px);
}

.enc-teaser__card {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 220px;
  padding: 22px 20px 20px;
  color: var(--ink);
  background: var(--white);
  border: 1px solid var(--line);
  border-top: 4px solid var(--signal);
  text-decoration: none;
}

.enc-teaser__card--browser {
  border-top-color: var(--chart-teal);
}

.enc-teaser__card:hover {
  border-color: var(--ink);
  border-top-color: var(--signal);
}

.enc-teaser__card--browser:hover {
  border-top-color: var(--chart-teal);
}

.enc-teaser__num {
  position: absolute;
  top: 18px;
  right: 18px;
  color: var(--muted);
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 600;
}

.enc-teaser__card .enc-kicker {
  max-width: 18ch;
  margin-bottom: 28px;
  color: var(--ink-soft);
}

.enc-teaser__card strong {
  color: var(--ink);
  font-family: var(--display);
  font-size: clamp(1.2rem, 2vw, 1.5rem);
  line-height: 1.08;
}

.enc-teaser__card > span:last-child {
  margin-top: 11px;
  color: var(--ink-soft);
  font-size: 13px;
  line-height: 1.6;
}

.enc-teaser__foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 18px 28px;
  margin-top: 24px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
}

.enc-teaser__foot p {
  max-width: 72ch;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.6;
}

.enc-teaser__foot .text-link {
  flex: none;
}

@media (max-width: 1000px) {
  .enc-teaser__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 580px) {
  .enc-teaser__grid {
    grid-template-columns: 1fr;
  }

  .enc-teaser__card {
    min-height: 0;
  }

  .enc-teaser__card .enc-kicker {
    margin-bottom: 18px;
  }
}

.enc-hero {
  position: relative;
  overflow: hidden;
  padding-block: clamp(66px, 9vw, 122px) clamp(58px, 8vw, 102px);
  color: var(--white);
  background: var(--navy-900);
  border-bottom: 6px solid var(--signal);
}

.enc-hero::before {
  content: "";
  position: absolute;
  top: 0;
  right: -11vw;
  width: 46vw;
  height: 100%;
  border-left: 1px solid rgb(255 255 255 / 0.06);
  border-right: 1px solid rgb(255 255 255 / 0.06);
  transform: skewX(-17deg);
  pointer-events: none;
}

.enc-hero__grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(360px, 0.98fr);
  align-items: center;
  gap: clamp(38px, 7vw, 100px);
}

.enc-eyebrow {
  color: var(--ink-soft);
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.05em;
  line-height: 1.5;
  text-transform: uppercase;
}

.enc-hero .enc-eyebrow {
  color: var(--cyan);
}

.enc-hero h1 {
  max-width: 880px;
  margin-top: 18px;
  color: var(--white);
  font-size: clamp(3.2rem, 6.4vw, 5.8rem);
  line-height: 0.92;
}

.enc-lede {
  max-width: 58ch;
  margin-top: 26px;
  color: rgb(255 253 247 / 0.76);
  font-size: 17px;
  line-height: 1.7;
}

.enc-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 30px;
}

.enc-hero__facts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
  margin-top: 42px;
  border-top: 1px solid rgb(255 255 255 / 0.16);
}

.enc-hero__facts li {
  padding: 15px 18px 0 0;
  color: rgb(255 253 247 / 0.72);
  font-size: 12px;
  line-height: 1.5;
}

.enc-hero__facts li + li {
  padding-left: 18px;
  border-left: 1px solid rgb(255 255 255 / 0.12);
}

.enc-hero__facts span {
  display: block;
  margin-bottom: 4px;
  color: var(--white);
  font-family: var(--display);
  font-size: 14px;
  font-weight: 650;
}

.enc-hero__shot {
  margin: 0;
  padding: 12px;
  border: 1px solid rgb(255 255 255 / 0.2);
  background: rgb(255 255 255 / 0.05);
}

.enc-hero__shot img {
  display: block;
  width: 100%;
  height: auto;
  border: 1px solid rgb(255 255 255 / 0.12);
}

.enc-hero__shot figcaption {
  padding: 11px 2px 0;
  color: rgb(255 253 247 / 0.72);
  font-family: var(--mono);
  font-size: 12px;
  line-height: 1.55;
}

.enc-section {
  padding-block: var(--section-y);
}

.enc-section--paper {
  color: var(--ink);
  background: var(--paper);
}

.enc-section--board {
  color: var(--white);
  background: var(--navy-900);
}

.enc-section--white {
  color: var(--ink);
  background: var(--white);
}

.enc-section-head {
  max-width: 810px;
}

.enc-section-head h2 {
  margin-top: 13px;
  font-size: clamp(2.2rem, 4.2vw, 3.7rem);
  line-height: 0.98;
}

.enc-section-head > p:last-child {
  max-width: 62ch;
  margin-top: 20px;
  color: var(--ink-soft);
  font-size: 16px;
  line-height: 1.72;
}

.enc-section--board .enc-section-head h2 {
  color: var(--white);
}

.enc-section--board .enc-section-head > p:last-child {
  color: rgb(255 253 247 / 0.7);
}

.enc-section--board .enc-eyebrow {
  color: var(--cyan);
}

.enc-kicker {
  color: var(--ink-soft);
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.04em;
  line-height: 1.5;
  text-transform: uppercase;
}

.enc-section--board .enc-kicker {
  color: var(--cyan);
}

.enc-boundary {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin-top: clamp(38px, 5vw, 62px);
}

.enc-boundary__card {
  position: relative;
  padding: clamp(24px, 3.4vw, 38px);
  border: 1px solid var(--line);
  background: var(--white);
}

.enc-boundary__card--server {
  border-top: 4px solid var(--signal);
}

.enc-boundary__card--browser {
  border-top: 4px solid var(--chart-teal);
}

.enc-boundary__icon {
  display: inline-grid;
  place-content: center;
  width: 38px;
  height: 38px;
  margin-bottom: 18px;
  color: var(--ink);
  background: var(--paper);
  border: 1px solid var(--line);
}

.enc-boundary__icon .icon {
  width: 19px;
  height: 19px;
}

.enc-boundary__card h3 {
  margin-top: 8px;
  font-size: clamp(1.45rem, 2.5vw, 1.9rem);
  line-height: 1.08;
}

.enc-boundary__card > p:not(.enc-kicker):not(.enc-boundary__truth) {
  margin-top: 13px;
  color: var(--ink-soft);
  font-size: 14px;
  line-height: 1.7;
}

.enc-boundary__truth {
  margin-top: 20px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
  color: var(--ink);
  font-size: 14px;
  line-height: 1.65;
}

.enc-boundary__truth strong {
  color: var(--ink);
}

.enc-boundary__truth--good strong {
  color: var(--success);
}

.enc-editions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin-top: 18px;
}

.enc-edition {
  padding: clamp(24px, 3.2vw, 36px);
  color: var(--white);
  background: var(--navy-900);
}

.enc-edition--enterprise {
  background: var(--navy-850);
}

.enc-edition h3 {
  margin-top: 8px;
  color: var(--white);
  font-size: clamp(1.35rem, 2.4vw, 1.75rem);
  line-height: 1.1;
}

.enc-edition .enc-kicker {
  color: var(--cyan);
}

.enc-edition ul,
.enc-mode ul,
.enc-card ul,
.enc-tradeoffs ul {
  display: grid;
  gap: 9px;
  margin-top: 20px;
}

.enc-edition li,
.enc-mode li,
.enc-card li,
.enc-tradeoffs li {
  position: relative;
  padding-left: 17px;
  color: rgb(255 253 247 / 0.78);
  font-size: 13px;
  line-height: 1.6;
}

.enc-edition li::before,
.enc-mode li::before {
  content: "";
  position: absolute;
  top: 0.65em;
  left: 0;
  width: 5px;
  height: 5px;
  background: var(--signal);
}

.enc-mode li::before {
  background: var(--cyan);
}

.enc-section--paper .enc-card li,
.enc-section--white .enc-card li {
  color: var(--ink-soft);
}

.enc-section--paper .enc-card li::before,
.enc-section--white .enc-card li::before {
  content: "";
  position: absolute;
  top: 0.65em;
  left: 0;
  width: 5px;
  height: 5px;
  background: var(--chart-teal);
}

.fine-print.enc-fine,
.enc-fine {
  max-width: 72ch;
  margin-top: 22px;
  color: var(--muted);
  font-family: var(--mono);
  font-size: 12px;
  line-height: 1.65;
}

.enc-section--board .enc-fine {
  color: rgb(255 253 247 / 0.64);
}

.enc-modes {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin-top: clamp(38px, 5vw, 60px);
}

.enc-mode {
  padding: clamp(23px, 3vw, 34px);
  border: 1px solid rgb(255 255 255 / 0.14);
  background: rgb(255 255 255 / 0.035);
}

.enc-mode--openpgp {
  border-top: 3px solid var(--signal);
}

.enc-mode--smime {
  border-top: 3px solid var(--chart-teal);
}

.enc-mode h3 {
  margin-top: 8px;
  color: var(--white);
  font-size: clamp(1.35rem, 2.3vw, 1.7rem);
  line-height: 1.1;
}

.enc-mode .enc-limit {
  margin-top: 18px;
  padding-top: 14px;
  border-top: 1px solid rgb(255 255 255 / 0.13);
  color: rgb(255 253 247 / 0.66);
  font-size: 12px;
  line-height: 1.6;
}

.enc-mode .enc-limit strong {
  color: var(--yellow);
}

.enc-product-shot {
  max-width: 1040px;
  margin: clamp(28px, 4vw, 42px) auto 0;
  padding: 11px;
  border: 1px solid rgb(255 255 255 / 0.16);
  background: rgb(255 255 255 / 0.04);
}

.enc-product-shot img {
  display: block;
  width: 100%;
  height: auto;
  border: 1px solid rgb(255 255 255 / 0.12);
}

.enc-product-shot figcaption {
  padding: 10px 2px 0;
  color: rgb(255 253 247 / 0.7);
  font-family: var(--mono);
  font-size: 12px;
  line-height: 1.55;
}

.enc-tradeoffs__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin-top: clamp(32px, 4vw, 48px);
}

.enc-tradeoffs__protected,
.enc-tradeoffs__disabled {
  padding: clamp(23px, 3vw, 32px);
  border: 1px solid var(--line);
  background: var(--white);
}

.enc-tradeoffs__protected {
  border-top: 4px solid var(--office);
}

.enc-tradeoffs__disabled {
  border-top: 4px solid var(--signal);
}

.enc-tradeoffs__grid h3 {
  font-size: 1.25rem;
}

.enc-tradeoffs__grid li {
  color: var(--ink-soft);
}

.enc-tradeoffs__protected li::before,
.enc-tradeoffs__disabled li::before {
  content: "";
  position: absolute;
  top: 0.65em;
  left: 0;
  width: 5px;
  height: 5px;
}

.enc-tradeoffs__protected li::before {
  background: var(--office);
}

.enc-tradeoffs__disabled li::before {
  background: var(--signal);
}

.enc-note {
  display: flex;
  gap: 18px;
  align-items: flex-start;
  margin-top: 18px;
  padding: 22px 24px;
  border: 1px solid var(--line);
  background: var(--paper-raised);
}

.enc-note__mark {
  flex: none;
  display: grid;
  place-content: center;
  width: 34px;
  height: 34px;
  color: var(--ink);
  background: var(--signal);
}

.enc-note__mark .icon {
  width: 18px;
  height: 18px;
}

.enc-note p {
  max-width: 82ch;
  color: var(--ink-soft);
  font-size: 14px;
  line-height: 1.65;
}

.enc-note strong {
  color: var(--ink);
}

.enc-cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-top: clamp(38px, 5vw, 58px);
}

.enc-card {
  padding: clamp(22px, 2.6vw, 30px);
  border: 1px solid var(--line);
  background: var(--paper-raised);
}

.enc-card__head {
  display: flex;
  align-items: center;
  gap: 13px;
  margin-bottom: 17px;
}

.enc-card__head h3 {
  margin: 0;
}

.enc-card__icon {
  display: inline-grid;
  place-content: center;
  flex: none;
  width: 34px;
  height: 34px;
  color: var(--chart-teal);
  background: var(--white);
  border: 1px solid var(--line);
}

.enc-card__head .enc-card__icon {
  margin-bottom: 0;
}

.enc-card__icon .icon {
  width: 17px;
  height: 17px;
}

.enc-card h3 {
  font-size: 1.25rem;
  line-height: 1.15;
}

.enc-card code,
.enc-section code {
  color: var(--ink);
  background: var(--paper);
  font-family: var(--mono);
  font-size: 12px;
  overflow-wrap: anywhere;
}

.enc-card .enc-limit {
  margin-top: 16px;
  padding-top: 13px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 12px;
  line-height: 1.6;
}

.enc-limits__list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px 26px;
  max-width: 1080px;
  margin-top: 34px;
}

.enc-limits__list li {
  position: relative;
  padding-left: 18px;
  color: var(--ink-soft);
  font-size: 14px;
  line-height: 1.65;
}

.enc-limits__list li::before {
  content: "";
  position: absolute;
  top: 0.65em;
  left: 0;
  width: 5px;
  height: 5px;
  background: var(--signal);
}

.enc-limits__list strong {
  color: var(--ink);
}

.enc-cta {
  display: flex;
  flex-wrap: wrap;
  align-items: end;
  justify-content: space-between;
  gap: 30px;
  margin-top: clamp(46px, 6vw, 72px);
  padding: clamp(26px, 4vw, 42px);
  border-top: 5px solid var(--signal);
  color: var(--white);
  background: var(--navy-900);
}

.enc-cta h2 {
  max-width: 640px;
  margin-top: 9px;
  color: var(--white);
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  line-height: 1.05;
}

.enc-cta p:not(.enc-eyebrow) {
  max-width: 62ch;
  margin-top: 12px;
  color: rgb(255 253 247 / 0.7);
  font-size: 14px;
  line-height: 1.65;
}

.enc-cta .enc-eyebrow {
  color: var(--cyan);
}

.enc-cta__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

@media (max-width: 1000px) {
  .enc-hero__grid,
  .enc-boundary,
  .enc-editions,
  .enc-modes,
  .enc-cards,
  .languages__body {
    grid-template-columns: 1fr;
  }

  .languages__shot {
    max-width: 720px;
  }

  .enc-hero__shot {
    max-width: 760px;
  }

  .enc-cards {
    gap: 14px;
  }

  .enc-tradeoffs__grid,
  .enc-limits__list {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 700px) {
  .subpage-header__nav {
    justify-content: flex-end;
    gap: 8px 16px;
  }

  .subpage-header__nav > a:not(.subpage-header__back) {
    display: none;
  }

  .enc-hero__facts {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .enc-hero__facts li,
  .enc-hero__facts li + li {
    padding: 12px 0;
    border-left: 0;
    border-bottom: 1px solid rgb(255 255 255 / 0.12);
  }

  .enc-hero__facts li:last-child {
    border-bottom: 0;
  }

  .enc-note {
    flex-direction: column;
  }

  .enc-cta {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 520px) {
  .languages__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .enc-hero {
    padding-block: 52px 62px;
  }

  .enc-hero h1 {
    font-size: clamp(2.75rem, 13vw, 3.6rem);
  }

  .enc-section {
    padding-block: 68px;
  }

  .enc-boundary__card,
  .enc-edition,
  .enc-mode,
  .enc-card,
  .enc-tradeoffs__protected,
  .enc-tradeoffs__disabled {
    padding: 21px 18px;
  }

  .enc-cta {
    padding: 24px 19px;
  }
}
