:root {
  --background: #fff;
  --text: #111;
  --accent: #00a650;
}

@media (prefers-color-scheme: dark) {
  :root {
    --background: #121212;
    --text: #f5f5f5;
    --accent: #00a650;
  }
}

html {
  display: flex;
  flex-direction: column;
  height: 100%;
}

body {
  margin: 0;
  padding: 0;
  font-size: 14px;
  background: var(--background);
  color: var(--text);
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  display: flex;
  flex-direction: column;
  height: 100%;
}

#intro {
  padding: 1rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  height: 100%;
  flex: 1;
  box-sizing: border-box;
}

#intro .video {
  width: 100%;
  max-width: 800px;
  height: 50vh;
  max-height: 500px;
  overflow: hidden;
  position: relative;
  border-radius: 1rem;
  box-shadow: 0 70px 72px -50px rgba(0, 0, 0, 0.3);
}

#intro .video video {
  position: absolute;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

#intro .logo {
  width: 100%;
  height: auto;
  max-width: 100px;
}

#intro h1 {
  font-size: 2rem;
  margin: 0;
  width: 100%;
  text-align: center;
}

#intro p {
  font-size: 1.2rem;
  margin: 0;
  text-align: center;
  width: 100%;
  max-width: 600px;
}

#intro .signin {
  margin-top: auto;
}

.button {
  display: block;
  background: var(--accent);
  color: #fff;
  border: none;
  font-size: 1.2rem;
  padding: 0.5rem 1rem;
  border-radius: 0.5rem;
  width: 100%;
  max-width: 300px;
  cursor: pointer;
}

.button:disabled {
  opacity: 0.6;
  cursor: default;
}

.footnote {
  font-size: 0.8rem;
  opacity: 0.7;
  text-align: center;
}

.footnote a {
  color: inherit;
}

.options {
  display: grid;
  gap: 1rem;
  width: 100%;
  max-width: 800px;
}

.options-item {
  display: block;
  width: 100%;
  background: var(--background);
  color: var(--text);
  border: 2px solid var(--accent);
  font-size: 1.2rem;
  padding: 0.5rem 1rem;
  border-radius: 0.5rem;
  cursor: pointer;
  transition: all 0.1s ease;
  text-align: center;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.options-item:hover {
  background: var(--accent);
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
}

.options-item:active {
  transform: translateY(0);
}

.options-item.selected {
  background: var(--accent);
  color: white;
  border-color: var(--accent);
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
  transform: translateY(-2px);
}

.step {
  margin: 1rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  height: 100%;
  flex: 1;
  box-sizing: border-box;
}

.step h2 {
  text-align: center;
  font-size: 1.5rem;
  margin-bottom: 1rem;
  line-height: 1.4;
}

.step .options {
  margin: 0 auto;
}

.step .next {
  margin-top: auto;
  width: 100%;
}

.contact-input {
  width: 100%;
  max-width: 800px;
  min-height: 80px;
  padding: 0.75rem;
  font-size: 1.1rem;
  font-family: inherit;
  border: 2px solid rgba(0, 166, 80, 0.3);
  border-radius: 0.5rem;
  background: rgba(0, 166, 80, 0.05);
  color: var(--text);
  resize: vertical;
  box-sizing: border-box;
  transition: all 0.2s ease;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.contact-input:focus {
  outline: none;
  border-color: var(--accent);
  background: rgba(0, 166, 80, 0.1);
  box-shadow: 0 4px 8px rgba(0, 166, 80, 0.2);
}

.contact-input::placeholder {
  color: rgba(17, 17, 17, 0.5);
  opacity: 1;
}

@media (prefers-color-scheme: dark) {
  .contact-input::placeholder {
    color: rgba(245, 245, 245, 0.5);
  }
}

#thankyou {
  margin: 1rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
  height: 100%;
  flex: 1;
  box-sizing: border-box;
  padding: 2rem;
  text-align: center;
}

#thankyou .logo {
  width: 120px;
  height: auto;
  animation: gentlePulse 2s ease-in-out infinite;
}

#thankyou h2 {
  font-size: 1.8rem;
  color: var(--accent);
  margin: 0;
  line-height: 1.4;
}

#thankyou p {
  font-size: 1.1rem;
  margin: 0.5rem 0;
  max-width: 500px;
  line-height: 1.6;
  opacity: 0.9;
}

.contacts {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.contacts a {
  font-size: 1.2rem;
  font-weight: bold;
  color: var(--accent);
  text-decoration: underline;
}

@keyframes gentlePulse {
  0%, 100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.05);
  }
}
