:root {
  font-family:
    -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", sans-serif;
  color: #182b3f;
  background: #173f69;
  font-synthesis: none;
  --ink: #182b3f;
  --muted: #656b70;
  --paper: #fff8e9;
  --paper-deep: #f1e2c8;
  --sky: #173f69;
  --sky-bright: #367eb5;
  --fuji: #c84a36;
  --fuji-deep: #8f3029;
  --accent: #d84a32;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  overflow-x: hidden;
  background:
    radial-gradient(circle at 20% 0%, rgb(89 153 204 / 70%), transparent 38rem),
    linear-gradient(180deg, var(--sky-bright), var(--sky) 62%, #112e4d);
}

.woodblock-scene {
  position: fixed;
  z-index: 0;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
}

.woodblock-scene::after {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 19vh;
  min-height: 120px;
  background:
    repeating-linear-gradient(
      176deg,
      rgb(22 55 69 / 42%) 0 2px,
      transparent 2px 7px
    ),
    linear-gradient(180deg, #355b57, #163f42);
  content: "";
  clip-path: polygon(0 48%, 10% 31%, 21% 50%, 35% 22%, 49% 48%, 62% 17%, 75% 43%, 88% 24%, 100% 45%, 100% 100%, 0 100%);
}

.woodblock-clouds {
  position: absolute;
  top: 4vh;
  right: -4vw;
  width: min(72vw, 980px);
  height: 34vh;
  opacity: 0.82;
  background: repeating-linear-gradient(
    0deg,
    transparent 0 13px,
    rgb(255 244 215 / 92%) 14px 18px,
    transparent 19px 30px
  );
  filter: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='w'%3E%3CfeTurbulence baseFrequency='.012 .09' numOctaves='2' seed='7'/%3E%3CfeDisplacementMap in='SourceGraphic' scale='18'/%3E%3C/filter%3E%3C/svg%3E%23w");
  mask-image: radial-gradient(ellipse at center, black 15%, transparent 72%);
}

.fuji-mountain {
  position: absolute;
  right: -8vw;
  bottom: 6vh;
  width: min(82vw, 1100px);
  height: min(65vh, 720px);
  overflow: hidden;
  background:
    repeating-linear-gradient(
      168deg,
      rgb(76 30 32 / 18%) 0 2px,
      transparent 2px 9px
    ),
    linear-gradient(150deg, var(--fuji-deep) 8%, var(--fuji) 47%, #d66a4e 76%);
  clip-path: polygon(59% 0, 100% 100%, 0 100%);
  filter: drop-shadow(-22px 20px 24px rgb(10 26 40 / 20%));
}

.fuji-snow {
  position: absolute;
  top: -1%;
  left: 46.5%;
  width: 25%;
  height: 34%;
  background: var(--paper);
  clip-path: polygon(50% 0, 100% 100%, 79% 75%, 69% 100%, 58% 68%, 47% 96%, 34% 64%, 25% 92%, 0 100%);
}

.page-shell {
  position: relative;
  z-index: 1;
  display: grid;
  min-height: 100vh;
  place-items: center;
  padding: 32px 18px;
}

.card {
  position: relative;
  width: min(100%, 720px);
  padding: clamp(28px, 6vw, 64px);
  overflow: hidden;
  border: 1px solid rgb(255 248 233 / 78%);
  border-radius: 32px;
  background:
    linear-gradient(rgb(255 248 233 / 94%), rgb(255 248 233 / 94%)),
    repeating-linear-gradient(8deg, transparent 0 4px, rgb(71 44 28 / 5%) 5px 6px);
  box-shadow: 0 26px 90px rgb(8 24 39 / 32%);
  backdrop-filter: blur(18px);
}

.card::before {
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  height: 7px;
  background: linear-gradient(90deg, var(--fuji-deep), var(--fuji) 58%, #eb9a6a);
  content: "";
}

.app-icon {
  display: block;
  width: 72px;
  height: 72px;
  margin-bottom: 28px;
  border-radius: 18px;
  box-shadow:
    0 10px 22px rgb(26 51 71 / 20%),
    0 1px 0 rgb(255 255 255 / 70%) inset;
}

.policy-icon {
  width: 56px;
  height: 56px;
  margin-bottom: 22px;
  border-radius: 14px;
}

.eyebrow,
.updated {
  margin: 0 0 10px;
  color: #6d6d68;
  font-size: 15px;
  font-weight: 650;
}

h1 {
  margin: 0;
  color: var(--ink);
  font-size: clamp(42px, 9vw, 68px);
  letter-spacing: -0.045em;
  line-height: 0.98;
}

.lede {
  max-width: 38rem;
  margin: 28px 0;
  color: #555d62;
  font-size: 20px;
  line-height: 1.55;
}

a {
  color: #9e302a;
}

button {
  font: inherit;
}

.copy-email {
  display: flex;
  width: min(100%, 430px);
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 14px 16px;
  border: 1px solid rgb(143 48 41 / 18%);
  border-radius: 15px;
  color: var(--ink);
  background: rgb(255 255 255 / 58%);
  box-shadow: 0 8px 20px rgb(65 43 31 / 8%);
  cursor: pointer;
  text-align: left;
  transition:
    border-color 160ms ease,
    box-shadow 160ms ease,
    transform 160ms ease;
}

.copy-email:hover {
  border-color: rgb(143 48 41 / 48%);
  box-shadow: 0 10px 24px rgb(65 43 31 / 13%);
  transform: translateY(-1px);
}

.copy-email:focus-visible {
  outline: 3px solid rgb(200 74 54 / 30%);
  outline-offset: 3px;
}

.copy-email-address {
  min-width: 0;
  overflow: hidden;
  font-weight: 650;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.copy-email-action {
  flex: none;
  padding: 7px 11px;
  border-radius: 10px;
  color: white;
  background: var(--accent);
  font-size: 14px;
  font-weight: 750;
}

.copy-status {
  min-height: 1.4em;
  margin: 8px 0 0;
  color: #7b332d;
  font-size: 14px;
  font-weight: 650;
}

.copy-email.compact {
  margin-top: 12px;
}

.footer-links {
  margin-top: 34px;
  padding-top: 24px;
  border-top: 1px solid rgb(91 73 57 / 18%);
}

.footer-links a,
.back-link {
  font-weight: 700;
  text-decoration-thickness: 1.5px;
  text-underline-offset: 4px;
}

.back-link {
  display: inline-block;
  margin-bottom: 36px;
  text-decoration: none;
}

.policy h1 {
  margin-bottom: 12px;
}

.policy section {
  margin-top: 36px;
}

.policy h2 {
  margin: 0 0 10px;
  color: var(--ink);
  font-size: 22px;
  letter-spacing: -0.02em;
}

.policy p {
  margin: 0 0 14px;
  color: #555d62;
  font-size: 17px;
  line-height: 1.65;
}

@media (max-width: 560px) {
  .page-shell {
    align-items: start;
    padding: 18px 12px;
  }

  .card {
    border-radius: 26px;
  }

  .copy-email {
    gap: 10px;
  }

  .copy-email-address {
    font-size: 15px;
  }

  .fuji-mountain {
    right: -40vw;
    width: 145vw;
  }
}

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