:root {
  --paper: #eee6d8;
  --ink: #151311;
  --muted-ink: #7e6847;
  --line: rgba(133, 111, 76, 0.34);
  --line-strong: rgba(133, 111, 76, 0.52);
  --shadow: rgba(75, 54, 31, 0.16);
  --button: #191817;
  --cc-font-family: "Avenir Next", Avenir, "Segoe UI", Arial, sans-serif;
  --cc-bg: rgba(249, 244, 235, 0.97);
  --cc-primary-color: #211c16;
  --cc-secondary-color: #5f5547;
  --cc-modal-border-radius: 8px;
  --cc-btn-border-radius: 5px;
  --cc-link-color: #7e6847;
  --cc-btn-primary-bg: #191817;
  --cc-btn-primary-color: #b99a64;
  --cc-btn-primary-border-color: #191817;
  --cc-btn-primary-hover-bg: #242321;
  --cc-btn-primary-hover-color: #d0ad70;
  --cc-btn-primary-hover-border-color: #242321;
  --cc-btn-secondary-bg: rgba(238, 230, 216, 0.76);
  --cc-btn-secondary-color: #211c16;
  --cc-btn-secondary-border-color: rgba(133, 111, 76, 0.32);
  --cc-btn-secondary-hover-bg: rgba(230, 219, 199, 0.96);
  --cc-btn-secondary-hover-color: #151311;
  --cc-btn-secondary-hover-border-color: rgba(133, 111, 76, 0.5);
  --cc-separator-border-color: rgba(133, 111, 76, 0.24);
  --cc-toggle-on-bg: #7e6847;
  --cc-toggle-off-bg: #9e9486;
  --cc-cookie-category-block-bg: rgba(238, 230, 216, 0.54);
  --cc-cookie-category-block-border: rgba(133, 111, 76, 0.24);
  --cc-cookie-category-block-hover-bg: rgba(238, 230, 216, 0.86);
  --cc-cookie-category-block-hover-border: rgba(133, 111, 76, 0.42);
  --cc-overlay-bg: rgba(28, 23, 17, 0.28);
  --cc-footer-bg: rgba(238, 230, 216, 0.52);
  --cc-footer-color: #6d614f;
  --cc-footer-border-color: rgba(133, 111, 76, 0.22);
}

* {
  box-sizing: border-box;
}

html {
  min-height: 100%;
  background: var(--paper);
}

body {
  min-width: 320px;
  min-height: 100%;
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at 50% 18%, rgba(255, 252, 244, 0.88), rgba(238, 230, 216, 0.66) 34rem, rgba(238, 230, 216, 0.4)),
    linear-gradient(180deg, rgba(246, 240, 230, 0.58), rgba(231, 219, 199, 0.7)),
    url("fond-theatre-comediens-base-donnees-prosopographie.png") center -56px / cover no-repeat fixed;
  font-family: Georgia, "Times New Roman", serif;
}

body::before {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  content: "";
  background:
    radial-gradient(circle at 50% 34%, rgba(255, 250, 240, 0.46), transparent 28rem),
    radial-gradient(circle at 20% 32%, rgba(107, 84, 52, 0.04), transparent 22rem),
    radial-gradient(circle at 78% 20%, rgba(107, 84, 52, 0.04), transparent 24rem);
  mix-blend-mode: multiply;
}

.waiting-page {
  position: relative;
  width: min(100%, 1120px);
  min-height: 100vh;
  margin: 0 auto;
  padding: clamp(28px, 4vh, 54px) 56px 38px;
  overflow: hidden;
  text-align: center;
}

.sketch {
  position: absolute;
  display: none;
  z-index: 0;
  pointer-events: none;
  user-select: none;
}

.sketch-left {
  top: clamp(34px, 8vh, 74px);
  left: -22px;
  width: clamp(260px, 40vw, 430px);
}

.sketch-right {
  top: clamp(0px, 2vh, 22px);
  right: -32px;
  width: clamp(320px, 47vw, 520px);
}

.hero,
.figures,
.signup,
.footer {
  position: relative;
  z-index: 1;
}

.motion-ready .reveal-item {
  opacity: 0;
  filter: blur(2px);
  transform: translateY(14px);
  transition:
    opacity 900ms cubic-bezier(0.22, 1, 0.36, 1),
    filter 900ms cubic-bezier(0.22, 1, 0.36, 1),
    transform 900ms cubic-bezier(0.22, 1, 0.36, 1);
  transition-delay: var(--reveal-delay, 0ms);
}

.motion-ready .keyhole.reveal-item {
  transform: translateY(12px) scale(0.97);
}

.motion-ready .ornament.reveal-item {
  transform: translateY(6px) scaleX(0.86);
}

.motion-ready .figure.reveal-item {
  transform: translateY(10px);
}

.motion-ready .signup.reveal-item {
  transform: translateY(16px);
}

.motion-ready .reveal-item.is-visible {
  opacity: 1;
  filter: blur(0);
  transform: translateY(0) scale(1);
}

.hero {
  display: grid;
  justify-items: center;
}

.keyhole {
  width: clamp(168px, 20vmin, 240px);
  height: auto;
  margin-bottom: clamp(16px, 2.5vh, 26px);
  filter: drop-shadow(0 18px 24px rgba(66, 43, 19, 0.18));
}

h1,
h2,
p {
  margin-top: 0;
}

h1 {
  margin-bottom: clamp(6px, 1.2vh, 12px);
  font-family: Didot, "Bodoni 72", "Bodoni MT", Georgia, serif;
  font-size: clamp(2.8rem, 6.2vw, 4.65rem);
  font-weight: 400;
  line-height: 0.96;
  letter-spacing: 0;
  text-transform: uppercase;
  text-wrap: balance;
}

.tagline {
  margin-bottom: clamp(12px, 2vh, 22px);
  color: var(--muted-ink);
  font-family: "Avenir Next", Avenir, "Segoe UI", Arial, sans-serif;
  font-size: clamp(0.82rem, 1.55vw, 1.05rem);
  font-weight: 700;
  letter-spacing: 0.34em;
  line-height: 1.45;
  text-transform: uppercase;
}

.ornament,
.footer-ornament {
  display: grid;
  width: 104px;
  height: 20px;
  margin: 0 auto clamp(10px, 1.8vh, 18px);
  place-items: center;
  color: var(--muted-ink);
}

.ornament::before,
.ornament::after,
.footer-ornament::before,
.footer-ornament::after {
  grid-area: 1 / 1;
  width: 100%;
  height: 1px;
  content: "";
  background: linear-gradient(90deg, transparent, var(--line-strong) 22%, var(--line-strong) 78%, transparent);
}

.ornament::after,
.footer-ornament::after {
  width: 10px;
  height: 10px;
  background: var(--paper);
  border: 1px solid var(--muted-ink);
  box-shadow:
    8px 0 0 -4px var(--muted-ink),
    -8px 0 0 -4px var(--muted-ink);
  transform: rotate(45deg);
}

.intro {
  max-width: 640px;
  margin-bottom: clamp(6px, 1.2vh, 12px);
  font-size: clamp(1.02rem, 1.75vw, 1.32rem);
  line-height: 1.24;
  text-wrap: balance;
}

.intro sup {
  font-size: 0.58em;
  line-height: 0;
}

.learn-more {
  position: relative;
  display: inline-block;
  white-space: nowrap;
}

.learn-more-link {
  display: inline;
  margin: 0 0 0 0.22em;
  padding: 0;
  border: 0;
  color: var(--muted-ink);
  background: transparent;
  font: 0.62em "Avenir Next", Avenir, "Segoe UI", Arial, sans-serif;
  font-weight: 800;
  letter-spacing: 0.08em;
  line-height: 1;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-transform: uppercase;
  text-underline-offset: 3px;
  cursor: pointer;
}

.learn-more-link:hover {
  color: #5f4b2f;
}

.learn-more-link:focus-visible {
  outline: 2px solid rgba(126, 104, 71, 0.72);
  outline-offset: 4px;
}

.learn-more-panel {
  position: absolute;
  bottom: calc(100% + 14px);
  left: 50%;
  z-index: 12;
  width: min(68vw, 430px);
  padding: 24px 28px;
  color: #27221b;
  background:
    linear-gradient(180deg, rgba(255, 252, 245, 0.96), rgba(244, 236, 222, 0.96)),
    var(--paper);
  border: 1px solid rgba(133, 111, 76, 0.42);
  border-radius: 8px;
  box-shadow: 0 22px 50px rgba(58, 42, 22, 0.18);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 0.8rem;
  font-style: normal;
  line-height: 1.54;
  opacity: 0;
  pointer-events: none;
  text-align: left;
  transform: translate(-50%, 10px);
  transition:
    opacity 190ms ease,
    transform 190ms ease,
    visibility 190ms ease;
  visibility: hidden;
  white-space: normal;
}

.learn-more-panel::before {
  position: absolute;
  inset: 6px;
  pointer-events: none;
  content: "";
  border: 1px solid rgba(133, 111, 76, 0.2);
  border-radius: 6px;
}

.learn-more-panel::after {
  position: absolute;
  bottom: -7px;
  left: 50%;
  width: 12px;
  height: 12px;
  content: "";
  background: rgba(244, 236, 222, 0.96);
  border-right: 1px solid rgba(133, 111, 76, 0.42);
  border-bottom: 1px solid rgba(133, 111, 76, 0.42);
  transform: translateX(-50%) rotate(45deg);
}

.learn-more-panel em {
  font-style: italic;
}

.learn-more:hover .learn-more-panel,
.learn-more:focus-within .learn-more-panel,
.learn-more.is-open .learn-more-panel {
  opacity: 1;
  pointer-events: auto;
  transform: translate(-50%, 0);
  visibility: visible;
}

.ornament-small {
  margin-bottom: clamp(6px, 1.2vh, 12px);
}

.figures {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  width: min(100%, 940px);
  margin: 0 auto 42px;
}

.figure {
  position: relative;
  display: grid;
  min-height: clamp(100px, 13vh, 118px);
  padding: 0 18px;
  align-content: end;
  justify-items: center;
}

.figure + .figure::before {
  position: absolute;
  top: 24px;
  bottom: 0;
  left: 0;
  width: 1px;
  content: "";
  background: linear-gradient(180deg, transparent, var(--line), transparent);
}

.figure-icon {
  width: clamp(34px, 5vh, 42px);
  height: clamp(34px, 5vh, 42px);
  margin-bottom: 6px;
  fill: none;
  stroke: var(--muted-ink);
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2.2;
}

.figure-icon-img {
  object-fit: contain;
  stroke: none;
}

.figure-icon-filled {
  fill: var(--muted-ink);
  stroke: none;
}

.figure strong {
  display: block;
  min-width: 4.2em;
  min-height: clamp(42px, 5.8vh, 54px);
  font-size: clamp(2.18rem, 4vw, 2.95rem);
  font-weight: 400;
  line-height: 1;
  font-variant-numeric: lining-nums tabular-nums;
  transition: color 260ms ease, text-shadow 260ms ease, transform 260ms ease;
}

.figure strong.is-counting {
  color: #7c6038;
  text-shadow: 0 0 18px rgba(126, 104, 71, 0.2);
}

.figure strong.is-complete {
  color: var(--ink);
  text-shadow: none;
}

.figure span {
  color: var(--muted-ink);
  font-family: "Avenir Next", Avenir, "Segoe UI", Arial, sans-serif;
  font-size: clamp(0.7rem, 1.4vw, 0.86rem);
  font-weight: 800;
  letter-spacing: 0.08em;
  line-height: 1.25;
  text-transform: uppercase;
}

.signup {
  width: min(100%, 820px);
  margin: 0 auto 24px;
  padding: 16px 36px 14px;
  border: 1px solid var(--line-strong);
  border-radius: 8px;
  background: rgba(248, 242, 231, 0.34);
  box-shadow: inset 0 0 0 4px rgba(238, 230, 216, 0.8), 0 18px 42px rgba(93, 65, 34, 0.06);
}

.signup h2 {
  margin-bottom: 6px;
  font-size: clamp(1.28rem, 2.6vw, 1.65rem);
  font-weight: 400;
  line-height: 1.15;
}

.signup p {
  font-family: "Avenir Next", Avenir, "Segoe UI", Arial, sans-serif;
}

.signup > p {
  margin-bottom: 14px;
  font-size: clamp(0.82rem, 1.6vw, 0.92rem);
  line-height: 1.34;
}

.signup-form {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(220px, 310px);
  gap: 12px 10px;
  align-items: center;
}

.signup-form input[type="email"] {
  width: 100%;
  min-height: 44px;
  padding: 0 16px;
  border: 1px solid rgba(80, 68, 52, 0.28);
  border-radius: 5px;
  background: rgba(255, 253, 247, 0.76);
  color: var(--ink);
  font: 0.9rem "Avenir Next", Avenir, "Segoe UI", Arial, sans-serif;
  box-shadow: inset 0 1px 8px rgba(54, 35, 14, 0.05);
}

.signup-form input[type="email"]::placeholder {
  color: rgba(58, 52, 46, 0.56);
}

.signup-form button {
  min-height: 44px;
  border: 0;
  border-radius: 5px;
  color: #b99a64;
  background: linear-gradient(180deg, #1c1b1a, var(--button));
  font-family: Didot, "Bodoni 72", "Bodoni MT", Georgia, serif;
  font-size: 0.92rem;
  letter-spacing: 0.15em;
  line-height: 1;
  text-transform: uppercase;
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.16);
  cursor: pointer;
  transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

.signup-form button:hover {
  background: linear-gradient(180deg, #242321, #121211);
  box-shadow: 0 14px 28px rgba(0, 0, 0, 0.19);
  transform: translateY(-1px);
}

.signup-form button:focus-visible,
.signup-form input:focus-visible,
.captcha input:focus-visible {
  outline: 2px solid rgba(126, 104, 71, 0.72);
  outline-offset: 3px;
}

.captcha {
  display: flex;
  gap: 10px;
  align-items: center;
  justify-self: start;
  min-height: 34px;
  color: var(--ink);
  font: 0.78rem "Avenir Next", Avenir, "Segoe UI", Arial, sans-serif;
  cursor: pointer;
}

.captcha input {
  width: 18px;
  height: 18px;
  margin: 0;
  accent-color: var(--muted-ink);
}

.recaptcha {
  display: flex;
  gap: 8px;
  align-items: center;
  justify-self: start;
  color: #5d5a55;
  font-family: Arial, sans-serif;
  text-align: left;
}

.recaptcha-mark {
  display: grid;
  width: 30px;
  height: 30px;
  place-items: center;
  color: white;
  background: conic-gradient(#356fc8, #6a9de2, #356fc8);
  border-radius: 4px;
  font-size: 1.18rem;
  line-height: 1;
}

.recaptcha strong {
  display: block;
  font-size: 0.82rem;
  font-weight: 400;
}

.recaptcha small {
  display: block;
  color: #4e4b47;
  font-size: 0.56rem;
}

.privacy {
  margin: 10px 0 0;
  padding-top: 8px;
  color: #282521;
  font-size: 0.72rem;
  line-height: 1.28;
}

.privacy::before,
.privacy::after {
  display: inline-block;
  width: 44px;
  height: 1px;
  margin: 0 12px 4px;
  content: "";
  background: linear-gradient(90deg, transparent, var(--line));
}

.privacy::after {
  background: linear-gradient(90deg, var(--line), transparent);
}

a {
  color: inherit;
  font-weight: 700;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

.privacy-disclosure {
  position: relative;
  display: inline-block;
}

.privacy-link {
  margin: 0;
  padding: 0;
  border: 0;
  color: inherit;
  background: transparent;
  font: inherit;
  font-weight: 700;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
  cursor: help;
}

.privacy-link:focus-visible {
  outline: 2px solid rgba(126, 104, 71, 0.72);
  outline-offset: 3px;
}

.privacy-tooltip {
  position: absolute;
  bottom: calc(100% + 12px);
  left: 50%;
  z-index: 5;
  width: min(78vw, 440px);
  padding: 14px 16px;
  color: #27221b;
  background: rgba(249, 244, 235, 0.97);
  border: 1px solid rgba(133, 111, 76, 0.42);
  border-radius: 6px;
  box-shadow: 0 18px 38px rgba(58, 42, 22, 0.17);
  font-size: 0.72rem;
  line-height: 1.38;
  text-align: left;
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, 8px);
  transition: opacity 180ms ease, transform 180ms ease;
}

.privacy-tooltip::after {
  position: absolute;
  bottom: -7px;
  left: 50%;
  width: 12px;
  height: 12px;
  content: "";
  background: rgba(249, 244, 235, 0.97);
  border-right: 1px solid rgba(133, 111, 76, 0.42);
  border-bottom: 1px solid rgba(133, 111, 76, 0.42);
  transform: translateX(-50%) rotate(45deg);
}

.privacy-tooltip strong {
  display: block;
  margin-bottom: 4px;
  color: var(--muted-ink);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 0.86rem;
  font-weight: 400;
}

.privacy-tooltip a {
  white-space: nowrap;
}

.privacy-disclosure:hover .privacy-tooltip,
.privacy-disclosure:focus-within .privacy-tooltip,
.privacy-disclosure.is-open .privacy-tooltip {
  opacity: 1;
  pointer-events: auto;
  transform: translate(-50%, 0);
}

@media (prefers-reduced-motion: reduce) {
  .motion-ready .reveal-item,
  .motion-ready .keyhole.reveal-item,
  .motion-ready .ornament.reveal-item,
  .motion-ready .figure.reveal-item,
  .motion-ready .signup.reveal-item {
    opacity: 1;
    filter: none;
    transform: none;
    transition: none;
  }
}

.footer {
  padding-bottom: 10px;
}

.footer-ornament {
  margin-bottom: 8px;
}

.footer-ornament::after {
  width: 13px;
  height: 13px;
  border-radius: 0 0 5px 5px;
  transform: none;
}

.domain {
  margin-bottom: 7px;
  color: var(--muted-ink);
  font-family: "Avenir Next", Avenir, "Segoe UI", Arial, sans-serif;
  font-size: clamp(1.08rem, 2vw, 1.38rem);
  font-weight: 500;
  letter-spacing: 0.34em;
  text-transform: uppercase;
}

.baseline {
  margin-bottom: 0;
  font-size: clamp(1.02rem, 2vw, 1.28rem);
  font-style: italic;
  letter-spacing: 0.28em;
}

.last-update {
  margin: 12px 0 0;
  color: rgba(83, 78, 70, 0.72);
  font-family: "Avenir Next", Avenir, "Segoe UI", Arial, sans-serif;
  font-size: 0.56rem;
  font-style: italic;
  letter-spacing: 0.08em;
}

.cookies-manage {
  display: inline;
  margin: 0;
  padding: 0;
  border: 0;
  color: inherit;
  background: transparent;
  font: inherit;
  letter-spacing: inherit;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
  cursor: pointer;
}

.cookies-manage:hover {
  color: var(--muted-ink);
}

.cookies-manage:focus-visible {
  outline: 2px solid rgba(126, 104, 71, 0.72);
  outline-offset: 3px;
}

#cc-main .cm,
#cc-main .pm {
  border: 1px solid rgba(133, 111, 76, 0.34);
  box-shadow: 0 18px 48px rgba(55, 39, 22, 0.18);
  backdrop-filter: blur(8px);
}

#cc-main .cm {
  max-width: min(calc(100vw - 28px), 720px);
}

#cc-main .cm__title,
#cc-main .pm__title {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.05rem;
  font-weight: 400;
}

#cc-main .cm__desc,
#cc-main .pm__section-desc,
#cc-main .pm__service-title {
  font-size: 0.86rem;
  line-height: 1.45;
}

#cc-main .cm__btn,
#cc-main .pm__btn {
  font-family: "Avenir Next", Avenir, "Segoe UI", Arial, sans-serif;
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

#cc-main .cm__btn:first-child,
#cc-main .pm__btn:first-child {
  color: #b99a64;
}

#cc-main .cm__btn--secondary,
#cc-main .pm__btn--secondary {
  color: #31291d;
}

#cc-main .pm__section-title {
  font-family: "Avenir Next", Avenir, "Segoe UI", Arial, sans-serif;
  font-size: 0.86rem;
  letter-spacing: 0.02em;
}

#cc-main .pm__close-btn {
  border-color: rgba(133, 111, 76, 0.26);
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

@media (max-width: 820px) {
  .waiting-page {
    padding: 64px 24px 34px;
  }

  .sketch-left {
    top: 80px;
    left: -106px;
    opacity: 0.78;
  }

  .sketch-right {
    top: 18px;
    right: -136px;
    opacity: 0.74;
  }

  .keyhole {
    margin-bottom: 28px;
  }

  .tagline {
    letter-spacing: 0.2em;
  }

  .intro br,
  .signup > p br,
  .privacy br {
    display: none;
  }

  .figures {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 22px 0;
    margin-bottom: 34px;
  }

  .figure {
    min-height: 112px;
  }

  .figure:nth-child(3)::before {
    display: none;
  }

  .signup {
    padding: 16px 18px 14px;
  }

  .signup-form {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .signup-form button,
  .recaptcha {
    width: 100%;
  }

  .signup-form input[type="email"],
  .signup-form button {
    min-height: 42px;
  }

  #cc-main .cm {
    max-width: calc(100vw - 20px);
  }

  #cc-main .cm__title,
  #cc-main .pm__title {
    font-size: 1rem;
  }

  #cc-main .cm__desc,
  #cc-main .pm__section-desc,
  #cc-main .pm__service-title {
    font-size: 0.82rem;
  }
}

@media (min-width: 821px) and (max-height: 820px) {
  .waiting-page {
    padding-top: 10px;
  }

  .keyhole {
    width: clamp(170px, 21.5vmin, 216px);
    margin-bottom: 8px;
  }

  h1 {
    margin-bottom: 3px;
    font-size: clamp(2.6rem, 4.6vw, 3.75rem);
    line-height: 0.9;
  }

  .tagline {
    margin-bottom: 6px;
    font-size: 0.78rem;
    line-height: 1.2;
    letter-spacing: 0.3em;
  }

  .ornament {
    height: 12px;
    margin-bottom: 5px;
  }

  .intro {
    margin-bottom: 3px;
    font-size: 0.94rem;
    line-height: 1.15;
  }

  .ornament-small {
    margin-bottom: 0;
  }

  .figure {
    min-height: 82px;
  }

  .figure-icon {
    width: 26px;
    height: 26px;
    margin-bottom: 2px;
  }

  .figure strong {
    min-height: 36px;
    font-size: 2.12rem;
  }

  .figure span {
    font-size: 0.66rem;
    line-height: 1.08;
  }

  .figures {
    margin-bottom: 30px;
  }

  .signup {
    padding-top: 14px;
  }
}

@media (min-width: 1200px) and (max-height: 930px) {
  html,
  body {
    height: 100%;
    overflow: hidden;
  }

  .waiting-page {
    height: 100vh;
    min-height: 0;
    padding-top: 8px;
    padding-bottom: 8px;
  }

  .keyhole {
    width: clamp(156px, 17.5vmin, 176px);
    margin-bottom: 10px;
  }

  h1 {
    margin-bottom: 4px;
    font-size: clamp(3.15rem, 4.7vw, 4.2rem);
    line-height: 0.9;
  }

  .tagline {
    margin-bottom: 7px;
    font-size: 0.86rem;
    line-height: 1.2;
    letter-spacing: 0.3em;
  }

  .ornament {
    height: 14px;
    margin-bottom: 6px;
  }

  .intro {
    margin-bottom: 4px;
    font-size: 1rem;
    line-height: 1.16;
  }

  .ornament-small {
    margin-bottom: 2px;
  }

  .figure {
    min-height: 80px;
  }

  .figure-icon {
    width: 27px;
    height: 27px;
    margin-bottom: 2px;
  }

  .figure strong {
    min-height: 34px;
    font-size: 2.06rem;
  }

  .figure span {
    font-size: 0.66rem;
    line-height: 1.08;
  }

  .figures {
    margin-bottom: 18px;
  }

  .footer {
    padding-bottom: 0;
  }

  .footer-ornament {
    height: 14px;
    margin-bottom: 5px;
  }

  .footer-ornament::after {
    width: 10px;
    height: 10px;
  }

  .domain {
    margin-bottom: 3px;
    font-size: 1.02rem;
    letter-spacing: 0.3em;
  }

  .baseline {
    font-size: 0.92rem;
    letter-spacing: 0.22em;
  }

  .last-update {
    margin-top: 5px;
    font-size: 0.5rem;
  }
}

@media (max-width: 520px) {
  .waiting-page {
    padding: 44px 16px 30px;
  }

  .keyhole {
    width: min(54vw, 190px);
  }

  h1 {
    font-size: clamp(2.34rem, 13vw, 3.2rem);
  }

  .tagline {
    max-width: 18rem;
    margin-bottom: 22px;
    letter-spacing: 0.13em;
  }

  .intro {
    font-size: 1.18rem;
  }

  .figures {
    grid-template-columns: 1fr;
    width: min(100%, 300px);
  }

  .figure {
    min-height: auto;
    padding: 0 0 22px;
    border-bottom: 1px solid var(--line);
  }

  .figure + .figure::before {
    display: none;
  }

  .figure:last-child {
    border-bottom: 0;
  }

  .signup {
    box-shadow: inset 0 0 0 3px rgba(238, 230, 216, 0.8), 0 12px 30px rgba(93, 65, 34, 0.05);
  }

  .signup-form input[type="email"],
  .signup-form button {
    min-height: 42px;
  }

  .privacy::before,
  .privacy::after {
    display: none;
  }

  .privacy-tooltip {
    position: fixed;
    right: 16px;
    bottom: 18px;
    left: 16px;
    width: auto;
    transform: translateY(8px);
  }

  .privacy-tooltip::after {
    display: none;
  }

  .learn-more {
    white-space: normal;
  }

  .learn-more-panel {
    position: fixed;
    right: 16px;
    bottom: 18px;
    left: 16px;
    width: auto;
    max-height: min(58vh, 360px);
    padding: 18px 18px 20px;
    overflow-y: auto;
    font-size: 0.86rem;
    transform: translateY(10px);
  }

  .learn-more-panel::after {
    display: none;
  }

  .learn-more:hover .learn-more-panel,
  .learn-more:focus-within .learn-more-panel,
  .learn-more.is-open .learn-more-panel {
    transform: translateY(0);
  }

  .privacy-disclosure:hover .privacy-tooltip,
  .privacy-disclosure:focus-within .privacy-tooltip,
  .privacy-disclosure.is-open .privacy-tooltip {
    transform: translateY(0);
  }

  .domain {
    letter-spacing: 0.22em;
  }

  .baseline {
    letter-spacing: 0.16em;
  }

  .last-update {
    font-size: 0.58rem;
    line-height: 1.55;
  }

  #cc-main .cm__btn,
  #cc-main .pm__btn {
    font-size: 0.72rem;
    letter-spacing: 0.06em;
  }
}
