*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  opacity: 0;
  transition: opacity 0.3s ease;
}
body.loaded {
  opacity: 1;
}

:root {
  --placa: "placa", sans-serif;
  --kansas-swash: "new-kansas-extra-swash", serif;
  --kansas: "new-kansas", serif;

  --white: #f9ebd2;
  --text: #1a1a1a;
    --red: #d83625;
  --orange: #e26007;
  --yellow: #f9c33e;
  --blue: #2a358f;
  /* --gradient: linear-gradient(
    180deg,
    rgb(59, 99, 174) 0%,
    rgba(124, 174, 243, 1) 50%,
    rgba(183, 214, 242, 1) 100%
  ); */

  --gradient: linear-gradient(
    0deg,
    rgba(8, 157, 231, 1) 0%,
    rgba(42, 53, 143, 1) 100%
  );
}

body {
  background: var(--gradient);
  color: var(--text);
  min-height: 100vh;
  margin: auto;
  overflow-x: clip;
}

content {
  max-width: 90rem;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
}

/* ── MAIN ── */
main {
  margin: 0 auto;
  min-height: 60vh;
  color: var(--white);
  padding: 0 2rem;
  width: 100%;
}

h1 {
  font-family: var(--kansas-swash);
  font-weight: 500;
  font-size: 4rem;
  line-height: 1;
  margin-bottom: 1rem;
}

h2 {
  font-family: var(--placa);
  font-size: 4rem;
  line-height: 1.1;
  margin-top: 4rem;
  margin-bottom: 0.5rem;
}

h3 {
  color: var(--white);
  font-family: var(--kansas);
  font-size: 2.75rem;
}

p {
  color: var(--white);
  font-family: var(--kansas);
  font-size: 1.75rem;
}

button {
  font-family: var(--placa);
  font-size: 1.5rem;
  padding: 0.75rem 1.5rem;
  background: var(--blue);
  color: var(--white);
  border: none;
  cursor: pointer;
  transition: opacity 0.15s;
}

button:hover {
  opacity: 0.85;
}

/* ── MARKDOWN ── */
[data-cms] strong {
  background: var(--blue);
  color: var(--white);
  padding: 0 0.25rem;
}

[data-cms] em {
  font-style: italic;
}

[data-cms] a {
  color: var(--white);
  text-decoration: underline;
  text-underline-offset: 3px;
}

[data-cms] p {
  margin-bottom: 0.5em;
}

[data-cms] p:last-child {
  margin-bottom: 0;
}

[data-cms] ul,
[data-cms] ol {
  color: var(--white);
  font-family: var(--kansas);
  font-size: 2rem;
  list-style: none;
  padding-left: 0;
  margin-bottom: 0.5em;
  max-width: 100%;
}

[data-cms] li {
  margin-bottom: 0.25em;
  padding-left: 1.75em;
  position: relative;
}

[data-cms] li::before {
  content: "✓";
  position: absolute;
  left: 0;
}

/* ── NAV ── */
nav {
  position: sticky;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  padding: 1rem 2rem;
  margin-top: 3rem;
}

.banner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-grow: 1;
  gap: 2rem;
}

.nav-head img {
  width: 15rem;
  max-width: 100%;
}

.nav-links {
  display: flex;
  gap: 0.25rem;
  list-style: none;
}

.nav-links a {
  text-decoration: none;
  color: var(--white);
  font-size: 0.9rem;
  padding: 0.35rem 0.75rem;
  border-radius: 6px;
  transition:
    background 0.15s,
    color 0.15s;
}

.nav-links a:hover,
.nav-links a.active {
  background: var(--blue);
  color: var(--yellow);
}

.lang-toggle {
  display: flex;
  border: 2px solid var(--white);
  overflow: hidden;
  background: var(--blue);
  border-radius: 4px;
}

.lang-toggle button {
  border: none;
  background: transparent;
  padding: 0.35rem 0.75rem;
  cursor: pointer;
  color: var(--white);
  font-size: 1rem;
  transition:
    background 0.15s,
    color 0.15s;
}

.lang-toggle button.active {
  background: var(--white);
  color: var(--yellow);
}

/* ── LANDING ── */
#sfa-endorsement {
  width: max-content;
  margin: 0 auto 2rem;
  display: flex;
  align-items: center;
  gap: 1rem;
}

#sfa-endorsement h2 {
  margin: 0;
  font-size: 1.5rem;
  line-height: 1;
  color: var(--white);
}

#sfa-endorsement img {
  height: 3.5rem;
}

#hero {
  display: flex;
  align-items: center;
  gap: 2rem;
  margin-bottom: 4rem;
}

#hero div {
  line-height: 1;
}

#hero h1 {
  font-size: 13rem;
  color: var(--white);
  margin-left: -8rem;
}

#hero h1 span {
  margin-left: 4rem;
}

#hero-name {
  margin-bottom: -2rem;
}

#hero-vote {
  margin: 0;
  margin-bottom: 3rem;
  padding: 1rem;
  background: none;
}

#hero-sub {
  font-size: 6rem;
  text-align: center;
  width: 33rem;
  max-width: max-content;
  color: var(--white);
  text-transform: uppercase;
  margin: 0 auto;
}

#hero img {
  width: 100%;
  max-width: 50%;
}

#record {
  padding: 3rem 0;
  margin: 4rem auto;
  max-width: 70rem;
  width: 100%;
  border-top: 2px solid var(--white);
  border-bottom: 2px solid var(--white);
}

#record ul {
  width: max-content;
  max-width: 100%;
  list-style: none;
  margin: 0 auto;
}

#record h1 {
  margin: 0 0 2rem;
  text-align: center;
}

/* ── REGISTER / VOTE ── */
#register {
  margin: 8rem auto 0;
  padding-top: 2rem;
  text-align: center;
  width: 100%;
}

#register > a {
  display: inline-block;
  margin: 0 0.5rem 1rem;
}

/* ── EMAIL SIGNUP ── */
#emails {
  margin: 4rem auto 0;
  padding: 3rem 2rem;
  width: 100%;
  max-width: 40rem;
  color: var(--yellow);
  text-align: center;
}

#mc_embed_signup_scroll h2 {
  font-family: var(--kansas-swash);
  font-weight: 500;
  font-style: italic;
  font-size: 2.5rem;
  color: var(--yellow);
  margin: 0 0 1.5rem;
}

#form-names {
  display: flex;
  gap: 1rem;
}

.mc-field-group {
  margin-bottom: 1rem;
  width: 100%;
}

.mc-field-group input[type="email"],
.mc-field-group input[type="text"] {
  width: 100%;
  padding: 0.65rem 1rem;
  font-family: var(--placa);
  font-size: 1rem;
  color: var(--blue);
  background: #fff;
  border: 2px solid var(--blue);
  border-radius: 4px;
  outline: none;
}

.mc-field-group input:focus {
  border-color: var(--red);
}

#mc-embedded-subscribe {
  margin-top: 0.5rem;
  padding: 0.65rem 2rem;
  font-family: var(--placa);
  font-size: 1rem;
  background: var(--yellow);
  color: var(--blue);
  border: none;
  border-radius: 4px;
  cursor: pointer;
  transition: opacity 0.15s;
}

#mc-embedded-subscribe:hover {
  opacity: 0.85;
}

#mce-success-response {
  color: var(--blue);
  font-family: var(--placa);
  margin-top: 1rem;
}

#mce-error-response {
  color: var(--red);
  font-family: var(--placa);
  margin-top: 1rem;
}

/* ── FOOTER ── */
footer {
  position: relative;
}

footer div {
  position: relative;
  overflow: hidden;
  padding-top: 35rem;
}

#city {
  display: block;
  min-width: 100%;
  position: absolute;
  bottom: 0;
  z-index: -1;
}

#disclaimer {
  position: relative;
  z-index: 1;
  font-family: sans-serif;
  font-size: 1.2rem;
  background: var(--white);
  color: var(--text);
  text-align: center;
  padding: 1rem;
  max-width: 70rem;
  margin: 1rem auto;
}

#logo-footer {
  position: absolute;
  height: 30rem;
  bottom: -10rem;
  left: 30%;
}

/* ── TABLET ── */
@media (max-width: 1200px) {
  h1 {
    font-size: 3rem;
  }
  h2 {
    font-size: 3.5rem;
  }
  h3 {
    font-size: 2rem;
  }
  p {
    font-size: 1.6rem;
  }

  [data-cms] ul,
  [data-cms] ol {
    font-size: 1.6rem;
  }

  nav {
    align-items: flex-start;
  }

  .banner {
    flex-direction: column;
    flex-grow: 0;
    gap: 1rem;
  }

  #sfa-endorsement {
    margin-left: 0;
    margin-right: 0;
  }

  #sfa-endorsement h2 {
    font-size: 1rem;
  }

  #sfa-endorsement img {
    height: auto;
    max-width: 8rem;
  }

  #hero {
    align-items: flex-start;
  }

  #hero h1 {
    font-size: 7rem;
    margin: auto;
    margin-left: -6rem;
  }

  #hero h1 span {
    margin-left: 2rem;
  }

  #hero h2 {
    font-size: 3rem;
  }

  #hero-sub {
    width: 20rem;
  }

  #hero img {
    margin-right: -2rem;
    min-width: 40%;
  }

  footer div {
    padding-top: 30rem;
  }

  #logo-footer {
    height: 22rem;
    bottom: -5rem;
    left: 25%;
  }
}

/* ── MOBILE ── */
@media (max-width: 600px) {
  nav {
    padding: 0 1rem;
    margin-top: 1.5rem;
  }

  .nav-head img {
    width: 10rem;
  }
  .nav-links {
    display: none;
  }

  main {
    padding: 1rem;
    padding-top: 0;
  }

  h1 {
    font-size: 2.5rem;
  }
  h2 {
    font-size: 2.75rem;
    margin-top: 2.5rem;
  }
  h3 {
    font-size: 1.5rem;
  }
  p {
    font-size: 1.25rem;
  }
  button {
    font-size: 1rem;
    padding: 0.65rem 1.25rem;
  }

  [data-cms] ul,
  [data-cms] ol {
    font-size: 1.25rem;
  }

  #sfa-endorsement {
    flex-direction: column;
    gap: 0.75rem;
  }

  #sfa-endorsement h2 {
    font-size: 0.75rem;
  }

  #sfa-endorsement img {
    max-width: 7rem;
  }

  #hero {
    align-items: center;
    flex-direction: column;
    gap: 0;
    margin-bottom: 2rem;
  }

  #hero img {
    width: 75%;
    margin-left: 6rem;
    margin-top: -2rem;
  }

  #hero > div {
    margin-top: -10rem;
  }

  #hero h1 {
    font-size: 20vw;
    font-weight: bold;;
    margin: 0;
    -webkit-text-stroke: 2px var(--blue);
  }

  #hero-name {
    margin-bottom: 3rem;
  }

  #hero-vote {
    margin: 0;
    margin-bottom: 1rem;
    margin-left: 5rem;
    padding: 0.5rem;
  }

  #hero-sub h2 {
    margin-top: 1rem;
  }

  #hero h2 {
    font-size: 2rem;
  }

  #emails {
    padding: 2rem 1rem;
    max-width: 100%;
  }

  #form-names {
    flex-direction: column;
    gap: 0;
  }

  .mc-field-group input[type="email"],
  .mc-field-group input[type="text"] {
    font-size: 1rem;
  }

  footer div {
    padding-top: 18rem;
  }

  #logo-footer {
    height: 15rem;
    bottom: 3rem;
    left: 20%;
  }

  #disclaimer {
    margin: 0;
  }
}
