:root {
  --brand-blue: #004277;
  --brand-blue-dark: #002d52;
  --brand-gray: #8a95a2;
  --brand-green: #97c93d;
  --page-bg: #f4f7fb;
  --text: #1c2938;
  --white: #ffffff;
  --border: #d5dde7;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  background: linear-gradient(180deg, #f8fbff 0%, var(--page-bg) 100%);
  color: var(--text);
}

.page {
  max-width: 900px;
  margin: 0 auto;
  padding: 1.25rem;
}

.hero {
  text-align: center;
  margin-bottom: 1rem;
}

.logo {
  width: min(100%, 520px);
  height: auto;
  margin-bottom: 0.75rem;
}

.hero h1 {
  margin: 0;
  font-size: clamp(1.5rem, 3vw, 2rem);
  color: var(--brand-blue-dark);
}

.hero p {
  margin: 0.5rem auto 0;
  max-width: 700px;
  color: #3f4f62;
}

.card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 1rem;
  box-shadow: 0 10px 30px rgba(0, 30, 60, 0.08);
}

.topic-switch {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.topic-btn {
  border: 1px solid var(--border);
  background: #eef3f9;
  color: var(--brand-blue-dark);
  font-weight: 700;
  border-radius: 10px;
  padding: 0.8rem;
  cursor: pointer;
}

.topic-btn.is-active {
  background: var(--brand-blue);
  color: var(--white);
  border-color: var(--brand-blue);
}

.meeting-form {
  display: grid;
  gap: 0.9rem;
}

.grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.9rem;
}

.field {
  display: grid;
  gap: 0.4rem;
}

.field span {
  font-size: 0.92rem;
  font-weight: 700;
}

input,
textarea {
  width: 100%;
  border: 1px solid #c5d0dc;
  border-radius: 8px;
  padding: 0.7rem 0.75rem;
  font-size: 1rem;
  font-family: inherit;
}

textarea {
  resize: vertical;
}

input:focus,
textarea:focus,
.topic-btn:focus,
button:focus {
  outline: 2px solid rgba(151, 201, 61, 0.55);
  outline-offset: 1px;
}

.actions {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}

#submit-btn {
  border: none;
  background: linear-gradient(90deg, var(--brand-blue) 0%, #005695 100%);
  color: var(--white);
  font-weight: 700;
  border-radius: 10px;
  padding: 0.75rem 1.1rem;
  cursor: pointer;
}

#submit-btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

#form-message {
  margin: 0;
  font-size: 0.94rem;
  color: #2f3d4f;
}

#form-message.success {
  color: #0e6a1b;
}

#form-message.error {
  color: #9a1f1f;
}

.hp-field {
  position: absolute;
  left: -10000px;
  opacity: 0;
  pointer-events: none;
}

@media (max-width: 760px) {
  .page {
    padding: 0.8rem;
  }

  .card {
    padding: 0.85rem;
  }

  .topic-switch,
  .grid {
    grid-template-columns: 1fr;
  }
}
