:root {
  --bg: #f7f1e7;
  --card: #fff9f1;
  --input: #fff7ee;
  --ink: #153c72;
  --ink-soft: #5b7292;
  --border: #d7e3f0;
  --accent: #ffd421;
  --accent-ink: #7a5a00;
  --shadow: 0 18px 40px rgba(22, 79, 191, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--ink);
  font-family: "Schoolbell", "Marker Felt", "Comic Sans MS", cursive;
  background:
    radial-gradient(circle at top, rgba(221, 232, 255, 0.9), transparent 34%),
    linear-gradient(180deg, #fbf6ee 0%, var(--bg) 100%);
}

a,
button,
input,
textarea {
  font: inherit;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  border: 0;
  background: none;
}

.landing {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 20px 20px 28px;
}

.hero {
  width: min(1120px, 100%);
}

.hero__content {
  display: grid;
  justify-items: center;
  text-align: center;
}

.hero__logo {
  width: min(240px, 48vw);
  height: auto;
  margin-bottom: 6px;
  filter: drop-shadow(0 10px 24px rgba(31, 95, 209, 0.16));
}

.hero h1 {
  margin: 0;
  max-width: none;
  font-size: clamp(2.4rem, 4.8vw, 4.2rem);
  line-height: 1;
  white-space: nowrap;
  color: var(--ink);
}

.hero__subheading {
  margin: 12px 0 0;
  max-width: 42rem;
  font-size: clamp(0.98rem, 1.7vw, 1.2rem);
  line-height: 1.4;
  color: var(--ink-soft);
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
  margin-top: 20px;
}

.button {
  cursor: pointer;
  transition: transform 180ms ease, opacity 180ms ease;
}

.button:hover {
  transform: translateY(-1px);
}

.button:disabled {
  cursor: progress;
  opacity: 0.72;
  transform: none;
}

.button--art {
  position: relative;
  min-width: 220px;
  min-height: 78px;
  padding: 0 24px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background-position: center;
  background-repeat: no-repeat;
  background-size: contain;
}

.button--yellow {
  background-image: url("/button-yellow.png");
}

.button--red {
  background-image: url("/button-red.png");
}

.button__label {
  position: relative;
  z-index: 1;
  font-size: 1.2rem;
  line-height: 1;
  text-align: center;
}

.button--yellow .button__label {
  color: var(--accent-ink);
}

.button--red .button__label {
  color: #fff8ef;
}

.button--art[aria-disabled="true"] {
  opacity: 0.92;
  pointer-events: none;
}

.button--dark {
  width: 100%;
}

.visuals {
  width: min(1120px, 100%);
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 18px;
  margin-top: 32px;
}

.phone-placeholder {
  aspect-ratio: 9 / 16;
  border-radius: 28px;
  display: grid;
  place-items: center;
  padding: 16px;
  background:
    linear-gradient(180deg, rgba(255, 249, 241, 0.7), rgba(221, 232, 255, 0.62)),
    var(--card);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
}

.phone-placeholder span {
  color: var(--ink-soft);
  font-size: 0.98rem;
  letter-spacing: 0.03em;
  text-align: center;
}

.support-dialog {
  width: min(560px, calc(100vw - 32px));
  padding: 0;
  border: 0;
  border-radius: 30px;
  box-shadow: var(--shadow);
  background: var(--card);
}

.support-dialog::backdrop {
  background: rgba(21, 60, 114, 0.24);
  backdrop-filter: blur(7px);
}

.support-form {
  padding: 28px;
}

.support-form__header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 18px;
}

.support-form__eyebrow {
  margin: 0 0 8px;
  font-size: 0.98rem;
  color: var(--ink-soft);
}

.support-form h2 {
  margin: 0;
  font-size: clamp(2rem, 6vw, 2.8rem);
  line-height: 1;
  color: var(--ink);
}

.support-form__close {
  width: 40px;
  height: 40px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  color: var(--ink);
  background: rgba(221, 232, 255, 0.72);
  cursor: pointer;
}

.field {
  display: grid;
  gap: 8px;
  margin-top: 14px;
}

.field span {
  font-size: 1rem;
  color: var(--ink);
}

.field input,
.field textarea {
  width: 100%;
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 14px 16px;
  background: var(--input);
  color: var(--ink);
  font-family: "Manrope", "Avenir Next", "Segoe UI", sans-serif;
  font-size: 0.98rem;
}

.field textarea {
  resize: vertical;
  min-height: 140px;
}

.field input:focus,
.field textarea:focus {
  outline: 2px solid rgba(31, 95, 209, 0.18);
  border-color: rgba(31, 95, 209, 0.28);
}

.honeypot {
  position: absolute;
  left: -9999px;
  opacity: 0;
  pointer-events: none;
}

.form-status {
  min-height: 24px;
  margin: 14px 0 0;
  font-family: "Manrope", "Avenir Next", "Segoe UI", sans-serif;
  font-size: 0.95rem;
  color: var(--ink-soft);
}

.form-status[data-state="error"] {
  color: #9d2f2f;
}

.form-status[data-state="success"] {
  color: #226247;
}

.support-form__actions {
  margin-top: 10px;
}

@media (max-width: 960px) {
  .visuals {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .landing {
    padding: 20px 16px 28px;
  }

  .hero__logo {
    width: min(200px, 56vw);
  }

  .hero h1 {
    white-space: normal;
    max-width: 12ch;
    font-size: clamp(2.2rem, 9vw, 3.4rem);
  }

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

  .button--art {
    width: min(280px, 100%);
  }

  .visuals {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
    margin-top: 36px;
  }

  .support-form {
    padding: 22px;
  }
}
