:root {
  --purple-950: #211039;
  --purple-800: #43226f;
  --purple-600: #6e3cab;
  --purple-100: #efe8f8;
  --orange: #f29b38;
  --ink: #211f27;
  --muted: #6f6978;
  --line: #dfdae6;
  --paper: #fffdfb;
  --success: #17734b;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}
* { box-sizing: border-box; }
body {
  margin: 0;
  min-height: 100vh;
  background: radial-gradient(circle at 10% 10%, #f2e7ff 0, transparent 35%), #f6f2f8;
  color: var(--ink);
}
a { color: var(--purple-600); }
.page-shell {
  width: min(1080px, calc(100% - 32px));
  min-height: 690px;
  margin: 32px auto;
  display: grid;
  grid-template-columns: minmax(300px, .88fr) minmax(420px, 1.12fr);
  overflow: hidden;
  border: 1px solid rgba(67,34,111,.14);
  border-radius: 28px;
  background: var(--paper);
  box-shadow: 0 28px 70px rgba(42, 23, 62, .16);
}
.brand-panel {
  position: relative;
  padding: 56px;
  overflow: hidden;
  color: white;
  background: linear-gradient(145deg, var(--purple-950), var(--purple-600));
}
.brand-panel::before,
.brand-panel::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  background: rgba(255,255,255,.06);
}
.brand-panel::before { width: 340px; height: 340px; right: -150px; top: -110px; }
.brand-panel::after { width: 260px; height: 260px; left: -130px; bottom: -100px; }
.brand-mark {
  width: 68px;
  height: 68px;
  display: grid;
  place-items: center;
  margin-bottom: 38px;
  border: 1px solid rgba(255,255,255,.35);
  border-radius: 20px;
  background: rgba(255,255,255,.1);
  font-family: Georgia, serif;
  font-size: 38px;
  font-weight: 700;
}
.eyebrow {
  margin: 0 0 12px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .16em;
}
.eyebrow.dark { color: var(--purple-600); }
.brand-panel h1 {
  max-width: 430px;
  margin: 0;
  font-size: clamp(36px, 5vw, 60px);
  line-height: .98;
  letter-spacing: -.045em;
}
.brand-copy {
  max-width: 390px;
  margin: 24px 0 50px;
  color: rgba(255,255,255,.76);
  font-size: 17px;
  line-height: 1.6;
}
.tag-preview {
  position: relative;
  z-index: 1;
  display: flex;
  justify-content: space-between;
  gap: 20px;
  max-width: 390px;
  margin-top: 12px;
  padding: 15px 17px;
  border: 1px solid rgba(255,255,255,.16);
  border-radius: 14px;
  background: rgba(18,8,31,.22);
}
.tag-preview span { color: rgba(255,255,255,.67); }
.content-panel { padding: 54px 58px; align-self: center; }
.form-heading h2, .result-card h2, .legal-copy h2 {
  margin: 0 0 12px;
  font-size: clamp(30px, 4vw, 44px);
  line-height: 1.05;
  letter-spacing: -.035em;
}
.form-heading > p:last-child, .result-card > p, .legal-copy p {
  color: var(--muted);
  line-height: 1.6;
}
.notice, .alert {
  margin: 22px 0;
  padding: 14px 16px;
  border-radius: 12px;
  font-size: 14px;
  line-height: 1.5;
}
.notice { border: 1px solid #e4d4f3; background: #f8f2fd; color: #573078; }
.alert { border: 1px solid #efc2c2; background: #fff0f0; color: #8c2020; }
.registration-form { display: grid; gap: 18px; margin-top: 28px; }
.field-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 15px; }
label { display: grid; gap: 8px; font-weight: 700; font-size: 14px; }
label small { margin-left: 6px; color: var(--muted); font-weight: 500; }
label em { color: var(--muted); font-size: 12px; font-style: normal; font-weight: 500; }
input[type="text"], input[type="email"], input[type="tel"], input[type="password"] {
  width: 100%;
  height: 48px;
  padding: 0 14px;
  border: 1px solid var(--line);
  border-radius: 11px;
  background: white;
  color: var(--ink);
  font: inherit;
  outline: none;
  transition: border-color .18s, box-shadow .18s;
}
input:focus { border-color: var(--purple-600); box-shadow: 0 0 0 4px rgba(110,60,171,.12); }
.consent-row { grid-template-columns: 20px 1fr; align-items: start; gap: 10px; font-weight: 500; line-height: 1.45; }
.consent-row input { width: 18px; height: 18px; margin: 2px 0 0; accent-color: var(--purple-600); }
button, .primary-link {
  min-height: 50px;
  display: inline-grid;
  place-items: center;
  border: 0;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--purple-800), var(--purple-600));
  color: white;
  font: inherit;
  font-weight: 800;
  text-decoration: none;
  cursor: pointer;
  box-shadow: 0 10px 22px rgba(67,34,111,.2);
}
button:hover, .primary-link:hover { filter: brightness(1.06); }
.support-line { margin: 0; color: var(--muted); text-align: center; font-size: 13px; font-weight: 500; }
.honeypot { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.result-card { max-width: 540px; }
.result-icon {
  width: 64px;
  height: 64px;
  display: grid;
  place-items: center;
  margin-bottom: 28px;
  border-radius: 50%;
  background: #e4f5ec;
  color: var(--success);
  font-size: 32px;
  font-weight: 800;
}
.result-icon.neutral { background: var(--purple-100); color: var(--purple-600); }
.primary-link { margin-top: 18px; padding: 0 28px; }
.legal-copy { max-width: 620px; }
.text-link { display: inline-block; margin-top: 18px; font-weight: 800; }
@media (max-width: 820px) {
  .page-shell { grid-template-columns: 1fr; margin: 14px auto; width: min(100% - 20px, 640px); }
  .brand-panel { padding: 38px 32px; }
  .brand-panel h1 { font-size: 40px; }
  .brand-copy { margin-bottom: 28px; }
  .content-panel { padding: 40px 30px; }
}
@media (max-width: 520px) {
  .field-grid { grid-template-columns: 1fr; }
  .brand-panel, .content-panel { padding-left: 24px; padding-right: 24px; }
}


/* =========================================================
   Direct Democracy Cyprus redesign
   ========================================================= */

.page-shell {
  grid-template-columns:
    minmax(340px, 0.92fr)
    minmax(460px, 1.08fr);
}

.brand-panel {
  min-height: 690px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 48px;
  background: #f7f5f0;
  border-right: 1px solid var(--line);
}

.brand-panel::before,
.brand-panel::after {
  display: none;
}

.brand-logo {
  position: relative;
  z-index: 1;
  display: block;
  width: min(100%, 540px);
  height: auto;
  object-fit: contain;
}

.form-heading {
  margin-bottom: 30px;
}

.form-heading h2 {
  max-width: 650px;
  margin-bottom: 0;
  font-size: clamp(34px, 4vw, 48px);
  line-height: 1.08;
}

.result-card {
  max-width: 620px;
}

.result-card > p {
  font-size: 17px;
}

.result-support {
  margin-top: 24px;
  text-align: left;
}

@media (max-width: 820px) {
  .page-shell {
    grid-template-columns: 1fr;
  }

  .brand-panel {
    min-height: 230px;
    padding: 34px;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .brand-logo {
    width: min(86%, 470px);
    max-height: 190px;
  }
}

@media (max-width: 520px) {
  .brand-panel {
    min-height: 180px;
    padding: 26px;
  }

  .brand-logo {
    width: 94%;
    max-height: 145px;
  }

  .form-heading h2 {
    font-size: 32px;
  }
}


/* Bilingual success page — official logo blue */

:root {
  --amesi-blue: #023A5C;
}

.bilingual-success {
  max-width: 680px;
}

.bilingual-success .success-blue,
.bilingual-success h2,
.bilingual-success p,
.bilingual-success strong {
  color: var(--amesi-blue);
}

.success-icon-blue {
  color: var(--amesi-blue);
  background: rgba(2, 58, 92, 0.10);
}

.bilingual-success h2 {
  line-height: 1.18;
}

.greek-heading {
  display: inline-block;
  margin-top: 8px;
  font-size: 0.72em;
  font-weight: 700;
}

.success-copy {
  margin-top: 22px;
}

.success-copy p {
  margin: 0 0 10px;
  font-size: 17px;
  line-height: 1.58;
}

.success-copy .greek-copy {
  margin-bottom: 24px;
}

.office-login-button {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-width: 290px;
  margin-top: 12px;
  padding: 15px 28px;
  color: #ffffff !important;
  background: var(--amesi-blue) !important;
  border-color: var(--amesi-blue) !important;
  line-height: 1.2;
}

.office-login-button span {
  margin-top: 4px;
  color: #ffffff;
  font-size: 13px;
  font-weight: 600;
}

.office-login-button:hover,
.office-login-button:focus {
  background: #012f4b !important;
  border-color: #012f4b !important;
  transform: translateY(-1px);
}

@media (max-width: 520px) {
  .office-login-button {
    width: 100%;
    min-width: 0;
  }

  .success-copy p {
    font-size: 16px;
  }
}

/* Registration button — official logo blue */
.registration-form button[type="submit"] {
  color: #ffffff !important;
  background: #023A5C !important;
  border-color: #023A5C !important;
}

.registration-form button[type="submit"]:hover,
.registration-form button[type="submit"]:focus {
  background: #012f4b !important;
  border-color: #012f4b !important;
}

/* Optional telephone and WhatsApp consent */
.optional-consent {
  padding: 16px;
  border: 1px solid rgba(2, 58, 92, 0.24);
  border-radius: 12px;
  background: rgba(2, 58, 92, 0.05);
}

.optional-consent span {
  font-size: 14px;
  line-height: 1.48;
}

.legal-copy h3 {
  margin-top: 28px;
  color: #023A5C;
}

.legal-copy hr {
  margin: 38px 0;
  border: 0;
  border-top: 1px solid rgba(2, 58, 92, 0.18);
}
