:root {
  --bg: #eef2ec;
  --ink: #272626;
  --green: #80c56f;
  --green-dark: #5aa856;
  --green-soft: #dce9a9;
  --peach: #f2cb9f;
  --lavender: #ddd0e8;
  --card: rgba(255, 255, 255, 0.96);
  --shadow: 0 12px 32px rgba(35, 46, 31, 0.10);
}

* {
  box-sizing: border-box;
}

html,
body {
  width: 100%;
  height: 100%;
  margin: 0;
  overflow: hidden;
}

body {
  color: var(--ink);
  background: var(--bg);
  font-family: Arial, Helvetica, sans-serif;
}

img {
  display: block;
  max-width: 100%;
}

.waiting-page {
  width: 100vw;
  height: 100dvh;
  min-height: 100vh;
  display: grid;
  grid-template-columns: minmax(0, 1.04fr) minmax(440px, 0.96fr);
  overflow: hidden;
  background:
    radial-gradient(circle at 93% 13%, var(--peach) 0 13%, transparent 13.2%),
    radial-gradient(circle at 97% 89%, var(--lavender) 0 11%, transparent 11.2%),
    var(--bg);
}

.hero-panel {
  position: relative;
  min-width: 0;
  min-height: 0;
  overflow: hidden;
  border-radius: 0 0 42px 0;
  background: #dfe8dc;
}

.hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
}

.hero-bubble {
  position: absolute;
  right: clamp(18px, 3vw, 52px);
  bottom: clamp(18px, 4.5vh, 48px);
  width: min(77%, 540px);
  padding: clamp(16px, 2vw, 28px) clamp(18px, 2.4vw, 34px);
  background: #fff;
  border-radius: 24px 24px 24px 8px;
  box-shadow: 0 14px 32px rgba(0, 0, 0, 0.10);
}

.hero-bubble p {
  margin: 0;
  font-size: clamp(15px, 1.38vw, 23px);
  line-height: 1.4;
}

.content-panel {
  min-width: 0;
  min-height: 0;
  height: 100%;
  padding: clamp(24px, 3.4vh, 42px) clamp(24px, 3.4vw, 54px);
  display: grid;
  grid-template-rows: auto auto minmax(0, 1fr) auto;
  gap: clamp(12px, 2vh, 22px);
  align-content: stretch;
}

.brand-block {
  display: flex;
  justify-content: center;
  align-items: center;
}

.brand-logo {
  width: min(92%, 640px);
  max-height: 132px;
  object-fit: contain;
}

.signers {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(10px, 1vw, 16px);
  align-items: center;
}

.signers img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  object-position: center;
  border-radius: 24px;
  box-shadow: 0 10px 24px rgba(40, 48, 38, 0.10);
}

.message-card {
  align-self: stretch;
  background: linear-gradient(180deg, rgba(255,255,255,0.98) 0%, rgba(247,251,244,0.97) 100%);
  border: 2px solid rgba(128, 197, 111, 0.24);
  border-radius: 24px;
  padding: clamp(18px, 2.2vh, 28px) clamp(20px, 2.2vw, 30px);
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.message-badge {
  display: inline-flex;
  align-self: flex-start;
  padding: 8px 14px;
  margin-bottom: 14px;
  border-radius: 999px;
  background: rgba(128, 197, 111, 0.16);
  color: #386a34;
  font-weight: 700;
  font-size: clamp(12px, 0.95vw, 15px);
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.construction-title {
  margin: 0;
  font-size: clamp(23px, 2.2vw, 38px);
  line-height: 1.08;
  font-weight: 800;
}

.construction-text {
  margin: 10px 0 0;
  font-size: clamp(18px, 1.38vw, 24px);
  line-height: 1.3;
}

.email-label {
  margin: 18px 0 4px;
  font-size: clamp(12px, 0.95vw, 15px);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #6e7d6c;
}

.email {
  margin: 0;
  font-size: clamp(20px, 1.55vw, 28px);
  font-weight: 800;
}

.email a {
  color: var(--ink);
  text-decoration: none;
  border-bottom: 3px solid var(--green);
}

.footer-block {
  display: flex;
  align-items: center;
  justify-content: center;
}

.pontsigne {
  width: 100%;
  display: grid;
  grid-template-columns: 110px 1fr;
  gap: 18px;
  align-items: center;
  padding: 14px 18px;
  background: rgba(255, 255, 255, 0.82);
  border-radius: 18px;
}

.pontsigne img {
  width: 100px;
  max-height: 86px;
  object-fit: contain;
  object-position: center;
}

.pontsigne p {
  margin: 0;
  font-size: clamp(13px, 0.98vw, 16px);
  line-height: 1.32;
}

@media (max-width: 980px) {
  .waiting-page {
    grid-template-columns: 1fr;
    grid-template-rows: 38dvh 62dvh;
    min-height: 100dvh;
    background:
      radial-gradient(circle at 96% 62%, var(--peach) 0 12%, transparent 12.2%),
      var(--bg);
  }

  .hero-panel {
    border-radius: 0 0 28px 28px;
  }

  .hero-image {
    object-position: center 42%;
  }

  .hero-bubble {
    right: 12px;
    bottom: 10px;
    width: min(90%, 520px);
    padding: 12px 16px;
    border-radius: 18px;
  }

  .hero-bubble p {
    font-size: clamp(12px, 3.2vw, 16px);
    line-height: 1.3;
  }

  .content-panel {
    height: 62dvh;
    padding: 10px 14px 14px;
    gap: 8px;
    grid-template-rows: auto auto minmax(0, 1fr) auto;
  }

  .brand-logo {
    width: min(82%, 430px);
    max-height: 58px;
  }

  .signers {
    gap: 7px;
  }

  .signers img {
    border-radius: 16px;
  }

  .message-card {
    padding: 12px 14px;
    border-radius: 18px;
  }

  .message-badge {
    padding: 6px 10px;
    margin-bottom: 9px;
    font-size: 11px;
  }

  .construction-title {
    font-size: clamp(18px, 5vw, 24px);
  }

  .construction-text {
    margin-top: 7px;
    font-size: clamp(14px, 3.6vw, 17px);
    line-height: 1.26;
  }

  .email-label {
    margin-top: 12px;
    margin-bottom: 3px;
    font-size: 10.5px;
  }

  .email {
    font-size: clamp(16px, 4vw, 20px);
  }

  .pontsigne {
    grid-template-columns: 68px 1fr;
    gap: 10px;
    padding: 8px 10px;
    border-radius: 14px;
  }

  .pontsigne img {
    width: 62px;
    max-height: 52px;
  }

  .pontsigne p {
    font-size: clamp(10px, 2.65vw, 12px);
    line-height: 1.18;
  }
}

@media (max-width: 420px) and (max-height: 780px) {
  .waiting-page {
    grid-template-rows: 35dvh 65dvh;
  }

  .content-panel {
    height: 65dvh;
    gap: 6px;
    padding-top: 8px;
    padding-bottom: 8px;
  }

  .brand-logo {
    max-height: 50px;
  }

  .hero-bubble p {
    font-size: 11px;
  }

  .message-card {
    padding: 10px 12px;
  }

  .construction-title {
    font-size: 17px;
  }

  .construction-text {
    font-size: 12.5px;
  }

  .email {
    font-size: 14px;
  }

  .pontsigne p {
    font-size: 9.5px;
  }
}
