/* Colours mirror the Common app (AppColors.swift and the Figma colour variables). */
:root {
  color-scheme: light;

  --bg: #fff;
  --fg: #000;
  --fg-secondary: rgb(0 0 0 / 0.8);
  --fg-tertiary: rgb(0 0 0 / 0.5);
  --card: #ebebeb;
  --card-hover: #e0e0e0;
  --divider: rgb(0 0 0 / 0.1);
  --hero-dim: 0.06;
  --button-hover: #292929;
  --button-secondary: #ebebeb;
  --button-secondary-hover: #d8d8d8;

  --app-bg: 255 255 255;
  --app-border: rgb(0 0 0 / 0.1);
  --app-symbol: rgb(0 0 0 / 0.55);
  --app-symbol-quiet: rgb(0 0 0 / 0.5);
  --surface: rgb(0 0 0 / 0.04);
  --surface-border: rgb(0 0 0 / 0.08);
  --chip: rgb(0 0 0 / 0.06);
  --chip-border: rgb(0 0 0 / 0.12);
  --chip-text: rgb(0 0 0 / 0.65);
  --code-chip: rgb(0 0 0 / 0.06);
  --code-chip-border: rgb(0 0 0 / 0.15);
  --glass: rgb(250 250 250 / 0.7);
  --glass-shadow: rgb(0 0 0 / 0.12);

  --gutter: clamp(20px, 5vw, 64px);
  --ease-out-quint: cubic-bezier(0.23, 1, 0.32, 1);
  --font: -apple-system, BlinkMacSystemFont, "SF Pro Text", system-ui, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

@media (prefers-color-scheme: dark) {
  :root {
    color-scheme: dark;
    --bg: #000;
    --fg: #fff;
    --fg-secondary: rgb(255 255 255 / 0.8);
    --fg-tertiary: rgb(255 255 255 / 0.5);
    --card: #111;
    --card-hover: #191919;
    --divider: rgb(255 255 255 / 0.12);
    --hero-dim: 0.34;
    --button-hover: #d6d6d6;
    --button-secondary: #151515;
    --button-secondary-hover: #2b2b2b;

    --app-bg: 0 0 0;
    --app-border: rgb(255 255 255 / 0.1);
    --app-symbol: rgb(255 255 255 / 0.55);
    --app-symbol-quiet: rgb(255 255 255 / 0.5);
    --surface: rgb(255 255 255 / 0.06);
    --surface-border: rgb(255 255 255 / 0.1);
    --chip: rgb(255 255 255 / 0.06);
    --chip-border: rgb(255 255 255 / 0.1);
    --chip-text: rgb(255 255 255 / 0.65);
    --code-chip: rgb(255 255 255 / 0.05);
    --code-chip-border: rgb(255 255 255 / 0.15);
    --glass: rgb(30 30 30 / 0.7);
    --glass-shadow: rgb(0 0 0 / 0.22);
  }
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  overflow-x: clip;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1,
h2,
p,
ul {
  margin: 0;
}

ul {
  padding: 0;
  list-style: none;
}

svg {
  display: block;
  flex: none;
}

svg:not([fill]) {
  fill: currentColor;
}

:focus-visible {
  outline: 2px solid var(--fg);
  outline-offset: 3px;
  border-radius: 4px;
}

.sprite {
  position: absolute;
  width: 0;
  height: 0;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

.wrap {
  width: min(100% - 2 * var(--gutter), 1192px);
  margin-inline: auto;
}

/* Homepage tokens from the light/dark Figma frames. */
.homepage {
  --font: "SF Pro", -apple-system, BlinkMacSystemFont, system-ui, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --toolbar-mask: url('/assets/redesign/light-toolbar-mask.svg');
}

.homepage .wrap {
  width: min(100% - 2 * var(--gutter), 890px);
}

.homepage .btn {
  font-family: "SF Pro Text", var(--font);
}

@media (prefers-color-scheme: dark) {
  .homepage {
    --bg: #0e0e0e;
    --fg: #f5f5f5;
    --fg-secondary: rgb(245 245 245 / 0.8);
    --fg-tertiary: rgb(245 245 245 / 0.6);
    --divider: rgb(245 245 245 / 0.1);
    --button-secondary: #262626;
    --toolbar-mask: url('/assets/redesign/dark-toolbar-mask.svg');
  }
}

/* Links and buttons */

.link {
  color: var(--fg-tertiary);
  font-size: 0.9375rem;
  line-height: 1.2;
  text-decoration: none;
  transition: color 150ms ease;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 48px;
  padding: 0 24px;
  border-radius: 999px;
  background: var(--fg);
  color: var(--bg);
  font-size: 0.9375rem;
  font-weight: 500;
  line-height: 1.2;
  white-space: nowrap;
  text-decoration: none;
  transition: background-color 200ms ease, color 200ms ease;
}

.btn > picture,
.site-header__logo > picture {
  display: block;
  flex: none;
}

.btn > picture img,
.site-header__logo > picture img {
  display: block;
}

.btn:focus-visible {
  border-radius: 999px;
}

.btn--quiet {
  height: 44px;
  padding: 0 18px;
  background: var(--button-secondary);
  color: var(--fg);
}

@media (hover: hover) and (pointer: fine) {
  .link:hover {
    color: var(--fg-tertiary);
  }

  .btn:hover {
    background: var(--button-hover);
  }

  .btn--quiet:hover {
    background: var(--button-secondary-hover);
  }
}

/* Header */

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 40px;
}

.site-header__logo {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  margin: -2px -12px;
  color: var(--fg);
}

.site-header__nav {
  display: flex;
  align-items: center;
  gap: 20px;
}

.site-header__nav .link {
  margin-block: -2px;
  padding-block: 13px;
  font-weight: 500;
}

/* Keep the homepage header aligned with the wider hero image. */
.homepage .site-header {
  position: sticky;
  top: 0;
  z-index: 2;
  width: min(calc(100vw - 2 * var(--gutter)), 1192px);
  margin-top: 0;
  margin-left: 50%;
  translate: -50% 0;
  padding-block: 12px;
  background: var(--bg);
}

.homepage .site-header::before {
  content: "";
  position: absolute;
  z-index: -1;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 100vw;
  translate: -50% 0;
  background: var(--bg);
}

.homepage .site-header::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 100vw;
  translate: -50% 0;
  height: 1px;
  background: var(--divider);
  opacity: 0;
  transition: opacity 200ms ease;
  pointer-events: none;
}

.homepage .site-header.is-scrolled::after {
  opacity: 1;
}

.homepage .site-header__logo {
  height: 40px;
  margin: 0;
  justify-items: start;
}

.homepage .site-header .btn--quiet {
  height: 40px;
  padding-inline: 16px;
  font-size: 0.875rem;
}

@media (pointer: coarse) {
  .homepage .site-header .btn--quiet {
    height: 44px;
  }
}

.homepage .intro {
  padding-top: 30px;
}

/* Intro */

.intro {
  padding-top: 42px;
  text-align: center;
}

.pitch {
  max-width: 600px;
  margin-inline: auto;
  font-family: "SF Pro Display", var(--font);
  color: var(--fg-tertiary);
  font-size: clamp(1.375rem, 1.05rem + 1.4vw, 1.75rem);
  font-weight: 400;
  line-height: 1.5;
  letter-spacing: normal;
}

.pitch .fg {
  display: block;
}

.fg {
  color: var(--fg);
}

.requirements {
  margin-top: 21px;
  color: var(--fg-tertiary);
  font-size: 0.9375rem;
  line-height: 1.2;
}

.intro__cta {
  margin-top: 21px;
}

/* Hero */

.hero {
  position: relative;
  container-type: inline-size;
  width: min(calc(100vw - 2 * var(--gutter)), 1192px);
  aspect-ratio: 1192 / 768;
  margin-top: 54px;
  margin-left: 50%;
  translate: -50% 0;
  overflow: hidden;
  background: linear-gradient(90deg, #aed3d5, #6f9aa0 55%, #3c6c78);
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: #000;
  opacity: var(--hero-dim);
  pointer-events: none;
}

.hero__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}

.js .hero__img {
  opacity: 0;
  transition: none;
}

.js .hero__img.is-loaded {
  opacity: 1;
}

/* Real app screenshots include their native window shadow. */
.app {
  position: absolute;
  z-index: 1;
  right: calc(53px * var(--menu-scale, 1));
  display: block;
  width: calc(570px * var(--menu-scale, 1));
  pointer-events: none;
}

.app img {
  display: block;
  width: 100%;
  height: auto;
}

/* Features */

.features {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 352px));
  gap: 64px clamp(40px, 6.68vw, 101px);
  margin-top: clamp(64px, 8vw, 96px);
}

.feature__glyph {
  display: block;
  height: 24px;
  font-size: 22px;
  line-height: 24px;
  color: var(--fg);
  font-variant-emoji: text;
}

.feature > picture {
  display: block;
  height: 24px;
}

.feature > picture img {
  display: block;
}

.feature p {
  margin-top: 28px;
  color: var(--fg-tertiary);
  letter-spacing: -0.31px;
  line-height: 26px;
}

.feature strong {
  color: var(--fg);
  font-weight: 400;
}

@media (min-width: 900px) {
  .feature {
    min-height: 104px;
  }

  .feature:nth-child(5),
  .feature:nth-child(6) {
    min-height: 130px;
  }
}

/* Footer */

.site-footer {
  margin-top: clamp(80px, 10vw, 128px);
  border-top: 1px solid var(--divider);
}

.site-footer__download {
  display: grid;
  justify-items: center;
  gap: 24px;
  padding-block: clamp(56px, 6vw, 80px);
  text-align: center;
}

.site-footer__title {
  color: var(--fg);
  font-size: clamp(1.25rem, 1.1rem + 0.5vw, 1.5rem);
  font-weight: 400;
  line-height: 1.4;
  letter-spacing: -0.014em;
  text-wrap: balance;
}

.site-footer__requirements {
  margin-top: 8px;
  color: var(--fg-tertiary);
  font-size: 0.875rem;
}

.site-footer__bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px 28px;
  padding: 24px 0 40px;
}

.site-footer__credit {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--fg-tertiary);
  font-size: 0.9375rem;
  line-height: 1.2;
}

.site-footer__nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0 28px;
}

.site-footer__nav .link {
  color: var(--fg);
  padding-block: 13px;
}

/* The landing footer follows the two-column Figma composition. */
.site-footer--landing {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 40px;
  margin-top: 64px;
  padding: 47px 0 64px;
}

.site-footer--landing .site-footer__download {
  display: block;
  justify-items: start;
  padding: 0;
  text-align: left;
}

.site-footer--landing .site-footer__title {
  max-width: 390px;
  font-family: "SF Pro Display", var(--font);
  font-size: clamp(1.375rem, 1.05rem + 1.4vw, 1.75rem);
  line-height: 1.5;
  letter-spacing: -0.42px;
  text-wrap: initial;
}

.site-footer--landing .btn {
  margin-top: 21px;
}

.site-footer--landing .site-footer__requirements {
  margin-top: 21px;
  font-size: 0.9375rem;
  line-height: 1.2;
}

.site-footer__details {
  display: grid;
  justify-items: end;
  gap: 15px;
}

.site-footer--landing .site-footer__nav {
  flex-direction: column;
  align-items: end;
  gap: 2px;
}

.site-footer--landing .site-footer__nav .link {
  min-height: 44px;
  padding-block: 13px;
}

.site-footer--landing .site-footer__credit {
  display: block;
  white-space: nowrap;
}

.site-footer__credit a {
  color: var(--fg);
  text-decoration: none;
  transition: color 150ms ease;
}

@media (hover: hover) and (pointer: fine) {
  .site-footer__credit a:hover,
  .site-footer__nav .link:hover {
    color: var(--fg-tertiary);
    text-decoration: none;
  }
}

/* Text pages (privacy, changelog) */

.prose {
  max-width: 640px;
  padding-top: 40px;
  color: var(--fg-tertiary);
}

.prose h1 {
  color: var(--fg);
  font-size: clamp(1.375rem, 1.05rem + 1.4vw, 1.75rem);
  font-weight: 400;
  line-height: 1.5;
  letter-spacing: -0.014em;
}

.prose h2 {
  margin-top: 48px;
  color: var(--fg);
  font-size: 1.0625rem;
  font-weight: 500;
}

.prose p {
  margin-top: 16px;
}

.prose a {
  color: var(--fg);
  text-decoration: none;
  transition: color 150ms ease;
}

/* Smaller screens */

@media (max-width: 899px) {
  .features {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: 40px;
  }
}

@media (max-width: 719px) {
  .hero {
    display: grid;
    aspect-ratio: auto;
    padding: 24px 20px;
  }

  .app {
    position: relative;
    top: auto;
    right: auto;
    width: min(100%, 513px);
    margin-inline: auto;
  }

  .site-footer--landing {
    align-items: start;
    gap: 40px;
  }
}

@media (max-width: 559px) {
  .features {
    grid-template-columns: minmax(0, 1fr);
    row-gap: 40px;
  }

  .feature p {
    margin-top: 20px;
  }

  .site-footer__nav {
    justify-content: center;
    gap: 0 16px;
    width: 100%;
  }

  .site-footer__bottom {
    justify-content: center;
    gap: 8px;
  }

  .site-footer--landing {
    flex-direction: column;
  }

  .site-footer__details {
    justify-items: start;
    gap: 24px;
    width: 100%;
  }

  .site-footer--landing .site-footer__nav {
    align-items: start;
  }
}

/* Intro animation: replays on refresh for previewing, never for reduced motion. */

@media (prefers-reduced-motion: no-preference) {
  html.js:not(.no-intro) .rise {
    animation: rise 550ms var(--ease-out-quint) both;
    animation-delay: calc(var(--i, 0) * 75ms);
  }

  html.js:not(.no-intro) .hero {
    animation-name: hero-in;
    animation-duration: 650ms;
    animation-delay: 400ms;
  }
}

@media (prefers-reduced-motion: reduce) {
  .js .hero__img,
  .homepage .site-header::after,
  .btn,
  .link,
  .site-footer__credit a {
    transition: none;
  }
}

.no-intro .hero__img {
  transition: none;
}

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
}

@keyframes hero-in {
  from {
    opacity: 0;
  }
}

@media (hover: hover) and (pointer: fine) {
  .prose a:hover {
    color: var(--fg-tertiary);
  }
}

@media (prefers-reduced-motion: reduce) {
  .prose a {
    transition: none;
  }
}

.contact-copy {
  border: 0;
  background: none;
  font-family: inherit;
  cursor: pointer;
  min-width: 100px;
  padding-inline: 0;
  text-align: right;
}

@media (max-width: 559px) {
  .contact-copy {
    text-align: left;
  }
}

/* Tahoe menu bar and live clock adapted from Developer/work. */
.live-menubar {
  position: absolute;
  inset: 0 0 auto;
  height: calc(34px * var(--menu-scale, 1));
  z-index: 2;
}

.live-menubar__plane {
  position: absolute;
  top: 0;
  right: 0;
  width: 1512px;
  height: 34px;
  transform: scale(var(--menu-scale, 1));
  transform-origin: top right;
  color: #000;
}

.live-menubar picture,
.live-menubar picture img {
  display: block;
  width: 1512px;
  height: 72px;
  pointer-events: none;
}

.live-menubar__time {
  position: absolute;
  top: 5px;
  right: 16px;
  width: max-content;
  height: 24px;
  display: grid;
  place-items: center;
  font-size: 13px;
  line-height: 1;
  font-weight: 400;
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
}

.live-menubar__toggle {
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
  position: absolute;
  top: 17px;
  right: 338px;
  width: calc(44px / var(--menu-scale, 1));
  height: calc(44px / var(--menu-scale, 1));
  translate: 50% -50%;
  display: grid;
  place-items: center;
  padding: 0;
  border: 0;
  border-radius: 999px;
  color: inherit;
  background: transparent;
  cursor: pointer;
}

.live-menubar__toggle svg {
  width: 16px;
  height: 16px;
}

@media (hover: hover) and (pointer: fine) {
  .live-menubar__toggle:hover:not(.is-cooldown)::before {
    background: rgb(0 0 0 / 0.15);
  }
}

@media (prefers-color-scheme: dark) {
  .live-menubar__plane {
    color: rgb(255 255 255 / 0.85);
  }
}

.hero .app {
  top: calc(3.5px * var(--menu-scale, 1));
}

.hero .app.is-hidden {
  visibility: hidden;
}

@media (max-width: 719px) {
  .hero {
    padding-top: calc(34px * var(--menu-scale, 1) + 24px);
  }

  .hero .app {
    top: auto;
  }
}

/* Replace the source's active-app labels with the Finder menu. */
.live-menubar__plane > picture {
  clip-path: inset(0 0 0 65%);
}

.live-menubar__finder {
  position: absolute;
  inset: 0 auto auto 54px;
  height: 34px;
  display: flex;
  align-items: center;
  gap: 24px;
  font-size: 15px;
  font-weight: 500;
}

.live-menubar__finder picture,
.live-menubar__finder picture img {
  width: 16px;
  height: 20px;
}

@media (max-width: 719px) {
  .live-menubar__finder {
    display: none;
  }

  .hero .app {
    right: auto;
    width: min(100%, calc(570px * var(--menu-scale, 1)));
    margin-top: -17px;
  }

  .live-menubar__toggle {
    right: 338px;
  }
}

/* Match work's native-sized pill while keeping a 44px hit target. */
.live-menubar__toggle::before {
  content: "";
  position: absolute;
  width: 38px;
  height: 24px;
  border-radius: 999px;
  background: transparent;
}

.live-menubar__toggle svg {
  position: relative;
}

.live-menubar__toggle.is-pressed::before {
  background: rgb(0 0 0 / 0.15);
}

@media (prefers-color-scheme: dark) {
  .live-menubar__toggle.is-pressed::before {
    background: rgb(0 0 0 / 0.2);
  }

  @media (hover: hover) and (pointer: fine) {
    .live-menubar__toggle:hover:not(.is-cooldown)::before {
      background: rgb(0 0 0 / 0.2);
    }
  }
}

.live-menubar__plane::before {
  content: "";
  position: absolute;
  top: 0;
  left: 16px;
  width: 24px;
  height: 34px;
  background: currentColor;
  -webkit-mask: url('/assets/menubar/apple-work.png') center / contain no-repeat;
  mask: url('/assets/menubar/apple-work.png') center / contain no-repeat;
}

@media (max-width: 719px) {
  .live-menubar__plane::before {
    display: none;
  }
}

/* Theme changes crossfade without swapping or moving the app window. */
body,
.site-header,
.site-header::before {
  transition: background-color 250ms ease, color 250ms ease;
}

.hero::after {
  transition: opacity 250ms ease;
}

.app img {
  transition: opacity 250ms ease;
}

.app .app__dark {
  position: absolute;
  inset: 0;
  opacity: 0;
}

.live-menubar__plane {
  transition: color 250ms ease;
}

.live-menubar__status {
  position: absolute;
  top: 5px;
  width: 40px;
  height: 24px;
  background: currentColor;
  -webkit-mask: var(--status-mask) center / contain no-repeat;
  mask: var(--status-mask) center / contain no-repeat;
}

.live-menubar__status--wifi { right: 279px; --status-mask: url('/assets/menubar/wifi-dark.svg'); }
.live-menubar__status--search { right: 239px; --status-mask: url('/assets/menubar/search-dark.svg'); }
.live-menubar__status--user { right: 201px; --status-mask: url('/assets/menubar/user-dark.svg'); }
.live-menubar__status--controls { right: 163px; --status-mask: url('/assets/menubar/controls-dark.svg'); }

/* A tiny grain breaks up quantized gradients beneath the dark overlay. */
.hero > picture:first-child::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.035;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='128' height='128'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.6'/%3E%3C/svg%3E");
}

@media (prefers-color-scheme: dark) {
  .app .app__light { opacity: 0; }
  .app .app__dark { opacity: 1; }
}

@media (prefers-reduced-motion: reduce) {
  body, .site-header, .site-header::before, .hero::after,
  .app img, .live-menubar__plane { transition: none; }
}

/* Mobile is a close crop of the wallpaper and right menu-bar group. */
@media (max-width: 719px) {
  .hero__img {
    object-position: 65% center;
    transform: scale(1.2);
    transform-origin: 65% center;
  }
}

/* Narrow screens crop one desktop scene; app and menu share its scale. */
@media (max-width: 719px) {
  .hero {
    display: block;
    padding: 0;
    height: calc(768px * var(--menu-scale, 1));
  }

  .hero .app {
    position: absolute;
    top: calc(3.5px * var(--menu-scale, 1));
    right: calc(53px * var(--menu-scale, 1));
    width: calc(570px * var(--menu-scale, 1));
    margin: 0;
  }

  .hero__img {
    object-position: right top;
    transform: none;
  }
}

/* Mobile hero typography and closer wallpaper crop. */
@media (max-width: 719px) {
  .intro {
    text-align: left;
  }

  .pitch {
    margin-inline: 0;
    font-size: clamp(1.5rem, 1.25rem + 1vw, 1.75rem);
    line-height: 1.4;
  }

  .hero {
    height: calc(790px * var(--menu-scale, 1));
  }

  .hero__img {
    transform: scale(1.12);
    transform-origin: right top;
  }
}

/* Keep focus feedback on the native-sized pill, not its larger touch target. */
.live-menubar__toggle:focus-visible {
  outline: none;
}

.live-menubar__toggle:focus-visible::before {
  outline: 2px solid currentColor;
  outline-offset: 2px;
}

@media (max-width: 719px) {
  .pitch {
    font-size: clamp(1.625rem, 1.35rem + 1.2vw, 1.875rem);
  }

  .pitch__copy {
    white-space: nowrap;
  }
}

/* The wallpaper uses the dark menu-bar treatment in either site theme. */
.live-menubar__plane {
  color: rgb(255 255 255 / 0.85);
}

.live-menubar__toggle.is-pressed::before {
  background: rgb(0 0 0 / 0.2);
}

@media (hover: hover) and (pointer: fine) {
  .live-menubar__toggle:hover:not(.is-cooldown)::before {
    background: rgb(0 0 0 / 0.2);
  }
}

/* One continuous backdrop avoids the seams from cropped menu artwork. */
.live-menubar::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: calc(260px * var(--menu-scale, 1));
  background: linear-gradient(to bottom,
    rgb(0 0 0 / 0.18) 0%,
    rgb(0 0 0 / 0.14) 18%,
    rgb(0 0 0 / 0.08) 42%,
    rgb(0 0 0 / 0.03) 68%,
    transparent 100%);
  pointer-events: none;
}

.prose__copy-email {
  display: inline;
  border: 0;
  padding: 0;
  background: none;
  color: var(--fg);
  font: inherit;
  cursor: pointer;
  transition: color 150ms ease;
}

@media (hover: hover) and (pointer: fine) {
  .prose__copy-email:hover { color: var(--fg-tertiary); }
}

@media (prefers-reduced-motion: reduce) {
  .prose__copy-email { transition: none; }
}
