:root {
  --bg: #f6f1ea;
  --card: rgba(255, 255, 255, 0.96);
  --text: #14213d;
  --muted: #687180;
  --border: #d8dde6;
  --accent:  #e497e1;
  --accent-dark: #3a3057;

  --radius-lg: 28px;
  --radius-md: 18px;
  --radius-sm: 12px;

  --shadow: 0 24px 70px rgba(20, 33, 61, 0.12);

  --space-xs: 8px;
  --space-sm: 12px;
  --space-md: 20px;
  --space-lg: 32px;
  --space-xl: 56px;

  --max-width: 760px;
  --form-width: 620px;
  --input-height: 58px;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: Inter, Arial, sans-serif;
  color: var(--text);
  background: var(--bg);
}

.page {
  min-height: 280vh;
  padding: var(--space-xl) var(--space-md);

  background:
    linear-gradient(
      to bottom,
      rgba(255, 255, 255, 1) 0%,
      rgba(255, 255, 255, 0.98) 25%,
      rgba(246, 241, 234, 0.92) 35%,
      rgba(246, 241, 234, 0.75) 65%,
      rgba(246, 241, 234, 0.4) 80%,
      rgba(246, 241, 234, 0.15) 100%
    ),
    url("../assets/Background.png") bottom -50px center / 100% auto no-repeat;
}

.hero {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.hero_content {
  width: 100%;
  max-width: var(--max-width);
  text-align: center;
}

.hero_logo {
  display: flex;
  justify-content: center;
  margin-bottom: 26px;
}

.hero_logo img {
  max-width: 150px;
  height: auto;
}

.hero_header {
  margin-bottom: var(--space-lg);
}

h1 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(3.3rem, 5vw, 5.8rem);
  line-height: 0.9;
  letter-spacing: -0.055em;
}

a {
  text-decoration: none;
  color: var(--accent);
}

a:hover {
  text-decoration: none;
  color: var(--accent-dark);
}

a:visited {
  text-decoration: none;
  color: var(--accent);
}

.highlight_text {
  color: var(--accent);
}

.hero_intro {
  max-width: 620px;
  margin: var(--space-md) auto 0;
  font-size: 1.1rem;
  line-height: 1.5;
  color: var(--muted);
}

p {
  margin: 0;
}

.form-card {
  width: 100%;
  max-width: var(--form-width);
  padding: var(--space-lg);
  background: var(--card);
  border: 1px solid rgba(255, 255, 255, 0.75);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow);
  backdrop-filter: blur(8px);
}

.waitlist_form {
  display: flex;
  flex-direction: column;
  gap: var(--space-lg);
}

.hidden {
  display: none;
}

.form-section {
  border: 0;
  margin: 0;
  padding: 0;
}

.form-grid,
.option-grid {
  display: grid;
  gap: var(--space-md);
}

.form-grid-two,
.option-grid-two {
  grid-template-columns: 1fr 1fr;
}

/*.option-grid-three {
  grid-template-columns: repeat(3, 1fr);
}*/

.field {
  display: flex;
  flex-direction: column;
  gap: var(--space-xs);
}

label,
legend {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text);
}

.input-wrapper {
  position: relative;
  margin-bottom: var(--space-md);
}

.input-wrapper .icon {
  position: absolute;
  left: 18px;
  top: 50%;
  width: 20px;
  height: 20px;
  transform: translateY(-50%);
  fill: currentColor;
  color: var(--text);
  pointer-events: none;
}

input[type="text"],
input[type="email"] {
  width: 100%;
  height: var(--input-height);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 0 18px 0 52px;
  font: inherit;
  background: #fff;
  color: var(--text);
}

input[type="text"]:focus,
input[type="email"]:focus {
  outline: 2px solid rgba(255, 235, 255, 0.28);
  border-color: var(--accent);
}

.input-wrapper:focus-within .icon {
  color: var(--accent);
}

.form-divider {
  position: relative;
  text-align: center;
  color: var(--muted);
  font-size: 0.9rem;
}

.form-divider::before {
  content: "";
  position: absolute;
  inset: 50% 0 auto;
  height: 1px;
  background: var(--border);
}

.form-divider span {
  position: relative;
  padding: 0 var(--space-sm);
  background: var(--card);
}

.question-block {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
}

.question-block legend {
  margin-bottom: var(--space-sm);
  font-size: 1rem;
}

.option-card {
  position: relative;
  cursor: pointer;
}

.option-card input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.option-content {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 58px;
  padding: var(--space-sm) var(--space-md);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: #fff;
  text-align: center;
  font-weight: 700;
  color: var(--text);
  transition: 0.18s ease;
}

.option-content .icon {
  width: 20px;
  height: 20px;
  fill: currentColor;
}

.option-card:hover .option-content {
  border-color: var(--accent);
}

.option-card input:checked + .option-content {
  border-color: var(--accent);
  background: rgba(255, 235, 255, 0.4);
  box-shadow: inset 0 0 0 1px var(--accent);
  color: var(--accent-dark);
}

.consent {
  display: flex;
  align-items: flex-start;
  gap: var(--space-sm);
  line-height: 1.35;
}

.consent input {
  margin-top: 3px;
}

.submit-btn {
  width: 100%;
  min-height: 64px;
  border: 0;
  border-radius: var(--radius-sm);
  background: var(--accent);
  color: white;
  font: inherit;
  font-size: 1.25rem;
  font-weight: 800;
  cursor: pointer;
  transition: 0.18s ease;
}

.submit-btn:hover {
  background: var(--accent-dark);
  transform: translateY(-1px);
}

.form-card > div,
.form-card > p {
  text-align: center;
}

.form-card > div p {
  margin-top: var(--space-md);
  color: var(--text);
}

.form-card hr {
  margin: var(--space-md) 0;
  border: 0;
  border-top: 1px solid var(--border);
}

.simple-page {
  min-height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
}

.thank-you-card {
  width: 100%;
  max-width: var(--max-width);
  padding: var(--space-lg);
  background: var(--card);
  border: 1px solid rgba(255, 255, 255, 0.75);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  backdrop-filter: blur(8px);
  text-align: center;
}

.thank-you-card h1 {
  margin-bottom: var(--space-md);
  font-size: clamp(2.8rem, 5vw, 4.8rem);
}

.thank-you-card p {
  margin-bottom: var(--space-lg);
  color: var(--muted);
  font-size: 1.1rem;
  line-height: 1.5;
}

.back-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 54px;
  padding: 0 28px;
  border-radius: var(--radius-md);
  background: var(--accent);
  color: #fff !important;
  font-weight: 800;
  text-decoration: none;
}

.back-link:hover,
.back-link:visited {
  color: #fff !important;
  background: var(--accent-dark);
}

.site-footer {
  width: 100%;
  display: flex;
  justify-content: center;
  margin-top: var(--space-lg);
  padding-bottom: var(--space-xs);
}

.footer-inner {
  font-size: 0.85rem;
  color: var(--muted);
  display: flex;
  align-items: center;
  gap: 8px;
}

.footer-inner a {
  color: var(--muted);
  text-decoration: none;
  font-weight: 500;
}

.footer-inner a:hover {
  color: var(--accent);
}

.footer-sep {
  opacity: 0.5;
}

@media (max-width: 720px) {
  .site-footer {
    margin-top: var(--space-md);
  }

  .footer-inner {
    font-size: 0.8rem;
  }
}

@media (max-width: 720px) {
  :root {
    --space-lg: 24px;
    --space-xl: 32px;
    --input-height: 54px;
  }

  .page {
    min-height: 260vh;
    padding: var(--space-xl) var(--space-md);

    background:
      linear-gradient(
        to bottom,
        #ffffff 0%,
        rgba(255, 255, 255, 0.98) 25%,
        rgba(255, 255, 255, 0.95) 45%,
        rgba(246, 241, 234, 0.85) 60%,
        rgba(246, 241, 234, 0.55) 75%,
        rgba(246, 241, 234, 0.25) 90%,
        rgba(246, 241, 234, 0.05) 100%
      ),
      url("../assets/Background.png") bottom center / 300% auto no-repeat;
  }

  .hero_content {
    padding: 0 6px;
  }

  .form-card {
    padding: var(--space-md);
    border-radius: 22px;
    margin-top: 12px;
  }

  .form-grid-two,
  .option-grid-two,
  .option-grid-three {
    grid-template-columns: 1fr;
  }

  h1 {
    font-size: clamp(2.8rem, 13vw, 4rem);
  }

  .hero_intro {
    font-size: 1rem;
  }
}

.policy-card {
  width: 100%;
  max-width: 760px;
  padding: var(--space-lg);
  background: var(--card);
  border: 1px solid rgba(255, 255, 255, 0.75);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  backdrop-filter: blur(8px);
  text-align: center;
}

.policy-card h1 {
  margin-bottom: var(--space-md);
  text-align: center;
  font-size: clamp(2.8rem, 5vw, 4.8rem);
}

.policy-card h2 {
  margin: var(--space-lg) 0 var(--space-sm);
  font-size: 1.35rem;
  color: var(--text);
}

.policy-card p {
  margin-bottom: var(--space-md);
  text-align: left;
  color: var(--muted);
  line-height: 1.6;
}

.policy-date {
  margin-bottom: var(--space-lg);
  text-align: center;
}

.policy-date p {
  margin-bottom: 4px;
  text-align: center;
  font-size: 0.95rem;
}

.cky-banner-element {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 22px;
  margin-bottom: var(--space-md);
  border-radius: var(--radius-md);
  background: var(--accent);
  color: #fff !important;
  font-weight: 800;
  text-decoration: none;
  cursor: pointer;
  text-align: center;
  border: none;
}

.cky-banner-element:hover {
  background: var(--accent-dark);
  color: #fff;
}

.policy-links {
  margin: 0 0 var(--space-lg);
  padding-left: 20px;
  text-align: left;
}

.policy-links li {
  margin-bottom: 8px;
  color: var(--muted);
}

.policy-card a {
  color: var(--accent);
  font-weight: 700;
  text-decoration: none;
}

.policy-card a:hover {
  color: var(--accent-dark);
}

.policy-footer {
  margin-top: var(--space-lg);
  padding-top: var(--space-md);
  border-top: 1px solid var(--border);
  font-size: 0.9rem;
  text-align: center !important;
}

@media (max-width: 720px) {
  .policy-card {
    padding: var(--space-md);
    border-radius: 22px;
  }

  .policy-card h1 {
    font-size: clamp(2.4rem, 12vw, 3.6rem);
  }
}

.policy-card {
  max-width: 720px;
}

.policy-title {
  font-family: Georgia, serif;
  font-size: 2rem;
  line-height: 1.2;
  margin-bottom: var(--space-md);
  text-align: center;
}

.policy-title span {
  display: block;
  font-size: 0.9rem;
  color: var(--muted);
  font-weight: 400;
  margin-top: 6px;
}

.policy-heading {
  margin-top: var(--space-md);
  margin-bottom: var(--space-sm);
  font-size: 1.1rem;
}

.policy-text {
  color: var(--muted);
  line-height: 1.6;
  margin-bottom: var(--space-sm);
}

.policy-list {
  padding-left: 18px;
  margin-bottom: var(--space-sm);
  text-align: left;

}

.policy-divider {
  margin: var(--space-md) 0;
  border: none;
  border-top: 1px solid var(--border);
}

.policy-footer {
  text-align: center;
  font-size: 0.85rem;
  color: var(--muted);
  margin-bottom: var(--space-md);
}

.back-home {
  display: block;
  text-align: center;
  text-decoration: none;
}
