:root {
  --entry-bg: linear-gradient(160deg, #f0f5ed 0%, #e8f0e4 30%, #f5f3e8 70%, #faf9f2 100%);
}

.entry-page {
  min-height: 100vh;
  background: var(--entry-bg);
  color: var(--text);
}

.entry-page html {
  scroll-snap-type: none;
}

.entry-page section {
  padding: 0;
  max-width: none;
  margin-left: 0;
  margin-right: 0;
}

.entry-page .site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 70;
  background: rgba(250, 250, 246, 0.65);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

.entry-main {
  width: 100%;
  max-width: 760px;
  margin: 0 auto;
  padding: 10px 20px 40px;
  padding-top: calc(var(--header-h, 140px) + 20px);
}

.entry-hero {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  margin-top: 28px;
  margin-bottom: 16px;
  padding: 0;
}

.entry-kicker {
  font-family: var(--font-en);
  letter-spacing: 0.22em;
  font-size: 10px;
  color: var(--text-light);
  margin-top: 0;
  margin-bottom: 6px;
}

.entry-title {
  font-size: clamp(24px, 4.2vw, 34px);
  line-height: 1.5;
  letter-spacing: 0.12em;
  margin-top: 0;
  margin-bottom: 10px;
  display: inline-block;
  background: var(--accent-grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
}

.entry-lead {
  font-size: 14px;
  line-height: 1.95;
  letter-spacing: 0.03em;
  color: #4f4f4b;
  max-width: 680px;
  margin: 0 auto;
}

.entry-form-section {
  display: block;
}

.entry-form {
  width: 100%;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(0, 0, 0, 0.06);
  border-radius: 22px;
  box-shadow: 0 10px 36px rgba(45, 80, 62, 0.08);
  padding: clamp(22px, 4.5vw, 42px);
}

.is-hidden {
  display: none !important;
}

.entry-confirm {
  width: 100%;
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid rgba(0, 0, 0, 0.06);
  border-radius: 22px;
  box-shadow: 0 10px 36px rgba(45, 80, 62, 0.08);
  padding: clamp(22px, 4.5vw, 42px);
}

.entry-confirm-title {
  font-size: 22px;
  line-height: 1.5;
  margin: 0 0 6px;
  color: var(--dark-soft);
}

.entry-confirm-lead {
  margin: 0 0 20px;
  color: #4f4f4b;
  font-size: 13px;
  line-height: 1.8;
}

.entry-confirm-list {
  margin: 0;
  padding: 0;
}

.entry-confirm-row {
  display: grid;
  grid-template-columns: 210px 1fr;
  gap: 12px;
  padding: 11px 0;
  border-bottom: 1px solid #ecefe8;
}

.entry-confirm-row dt {
  color: var(--text-light);
  font-size: 13px;
  font-weight: 700;
}

.entry-confirm-row dd {
  margin: 0;
  color: var(--dark-soft);
  font-size: 14px;
  line-height: 1.8;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}

.entry-confirm-actions {
  margin-top: 22px;
  display: flex;
  gap: 12px;
}

.entry-submit--sub {
  background: #7b8579;
  box-shadow: 0 8px 20px rgba(70, 75, 69, 0.18);
}

.entry-submit--sub:hover {
  box-shadow: 0 10px 24px rgba(70, 75, 69, 0.22);
}

.entry-policy-link {
  color: var(--green);
  font-weight: 700;
  text-underline-offset: 2px;
}

.entry-policy-link:hover {
  color: var(--lemon);
}

.entry-field + .entry-field {
  margin-top: 20px;
}

.entry-field label {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 700;
  color: var(--dark-soft);
  margin-bottom: 8px;
}

.required {
  display: inline-block;
  white-space: nowrap;
  flex-shrink: 0;
  font-size: 11px;
  font-weight: 700;
  color: #9a5f2a;
  background: rgba(232, 132, 44, 0.13);
  border-radius: 999px;
  padding: 2px 8px;
}

.entry-field input,
.entry-field select,
.entry-field textarea {
  width: 100%;
  border: 1px solid #d9ddd4;
  border-radius: 12px;
  background: #fff;
  font-size: 15px;
  color: var(--text);
  font-family: inherit;
  padding: 12px 14px;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.entry-field textarea {
  resize: vertical;
  min-height: 132px;
}

.entry-field input:focus,
.entry-field select:focus,
.entry-field textarea:focus {
  outline: none;
  border-color: rgba(74, 139, 108, 0.75);
  box-shadow: 0 0 0 4px rgba(74, 139, 108, 0.15);
}

.entry-consent {
  margin-top: 20px;
}

.entry-consent label {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 14px;
  line-height: 1.8;
}

.entry-consent input[type="checkbox"] {
  margin-top: 0.3em;
  inline-size: 16px;
  block-size: 16px;
}

.entry-consent-note {
  margin-top: 8px;
  margin-left: 26px;
  color: var(--text-light);
  font-size: 12px;
  line-height: 1.8;
}

.entry-consent-note a {
  color: var(--green);
}

.entry-turnstile-wrap {
  margin-top: 22px;
}

.entry-turnstile {
  min-height: 65px;
}

.entry-turnstile-help {
  margin-top: 8px;
  font-size: 12px;
  color: var(--text-light);
}

.entry-submit {
  margin-top: 24px;
  width: 100%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: none;
  border-radius: 999px;
  background: linear-gradient(135deg, #e8842c 0%, #f5a623 48%, #f0c040 100%);
  color: #fff;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.06em;
  min-height: 56px;
  padding: 12px 20px;
  cursor: pointer;
  box-shadow: 0 8px 26px rgba(232, 132, 44, 0.25);
  transition: transform 0.2s ease, box-shadow 0.2s ease, opacity 0.2s ease;
}

.entry-submit:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 30px rgba(232, 132, 44, 0.3);
}

.entry-submit:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none;
}

.entry-message {
  width: 100%;
  min-height: 1.4em;
  margin-top: 14px;
  font-size: 14px;
  line-height: 1.7;
  text-align: center;
}

.entry-message.is-error {
  color: #b03222;
}

.entry-message.is-success {
  color: #1c6d45;
}

.hp-field {
  position: absolute;
  inline-size: 1px;
  block-size: 1px;
  overflow: hidden;
  white-space: nowrap;
  clip-path: inset(50%);
}

@media (max-width: 767px) {
  .entry-main {
    padding: 8px 16px 14px;
    padding-top: calc(var(--header-h, 140px) + 20px);
  }

  .entry-hero {
    margin-top: 24px;
    margin-bottom: 12px;
  }

  .entry-title {
    letter-spacing: 0.05em;
  }

  .entry-confirm-row {
    grid-template-columns: 1fr;
    gap: 3px;
  }

  .entry-confirm-actions {
    flex-direction: column;
  }

  .entry-field input,
  .entry-field select,
  .entry-field textarea {
    font-size: 16px;
  }
}

@media (min-width: 1024px) {
  .entry-hero {
    margin-top: 32px;
    margin-bottom: 20px;
  }
}
