:root {
  color-scheme: light;
  --navy: #14213d;
  --navy-deep: #0a1227;
  --ink: #15213b;
  --muted: #667085;
  --line: #dfe4ed;
  --paper: #ffffff;
  --page: #eef2f7;
  --saffron: #ff9f1c;
  --saffron-dark: #d97800;
  --green: #138a63;
  --danger: #b42318;
  --shadow: 0 28px 70px rgba(20, 33, 61, 0.15);
  font-family: "Segoe UI", Arial, Helvetica, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  min-width: 320px;
  background: var(--page);
}

body {
  min-height: 100vh;
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at 12% 12%, rgba(255, 159, 28, 0.12), transparent 26rem),
    radial-gradient(circle at 88% 86%, rgba(19, 138, 99, 0.1), transparent 24rem),
    var(--page);
}

button,
input {
  font: inherit;
}

.page-shell {
  width: min(1120px, calc(100% - 40px));
  min-height: 100vh;
  margin: 0 auto;
  padding: 52px 0;
  display: grid;
  grid-template-columns: minmax(0, 1.06fr) minmax(390px, 0.94fr);
  align-items: stretch;
  filter: drop-shadow(var(--shadow));
}

.event-card,
.form-card {
  min-width: 0;
}

.event-card {
  position: relative;
  overflow: hidden;
  padding: clamp(36px, 6vw, 72px);
  display: flex;
  flex-direction: column;
  color: #fff;
  background:
    linear-gradient(135deg, transparent 0 68%, rgba(255, 159, 28, 0.12) 68% 69%, transparent 69% 74%, rgba(19, 138, 99, 0.13) 74% 75%, transparent 75%),
    var(--navy);
  border-radius: 28px 0 0 28px;
}

.event-card::after {
  content: "";
  position: absolute;
  width: 290px;
  height: 290px;
  right: -175px;
  bottom: -170px;
  border: 46px solid rgba(255, 255, 255, 0.055);
  border-radius: 50%;
}

.brand {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 0.95rem;
  font-weight: 760;
  letter-spacing: 0.01em;
}

.brand-mark {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  color: var(--navy);
  background: var(--saffron);
  border-radius: 12px 4px 12px 4px;
  font-size: 0.8rem;
  font-weight: 850;
}

.event-copy {
  position: relative;
  z-index: 1;
  margin: auto 0;
  padding: 70px 0 58px;
}

.eyebrow,
.step-label {
  margin: 0 0 14px;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.eyebrow {
  color: #ffc766;
}

h1,
h2,
p,
dl,
dd {
  margin-top: 0;
}

h1 {
  max-width: 620px;
  margin-bottom: 22px;
  font-family: "Segoe UI", Arial, Helvetica, sans-serif;
  font-weight: 780;
  font-size: clamp(2.6rem, 5.6vw, 5.25rem);
  line-height: 0.98;
  letter-spacing: -0.047em;
  text-wrap: balance;
}

.intro {
  max-width: 560px;
  margin-bottom: 0;
  color: #cad3e3;
  font-size: 1.06rem;
  line-height: 1.7;
}

.seat-note {
  position: relative;
  z-index: 1;
  margin: 0;
  display: flex;
  align-items: center;
  gap: 10px;
  color: #dce2ed;
  font-size: 0.86rem;
}

.seat-note span {
  width: 8px;
  height: 8px;
  background: #5ad8a6;
  border-radius: 50%;
  box-shadow: 0 0 0 5px rgba(90, 216, 166, 0.12);
}

.form-card {
  padding: clamp(34px, 5vw, 66px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: var(--paper);
  border-radius: 0 28px 28px 0;
}

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

.step-label {
  color: var(--saffron-dark);
}

h2 {
  margin-bottom: 10px;
  color: var(--navy-deep);
  font-family: "Segoe UI", Arial, Helvetica, sans-serif;
  font-weight: 760;
  font-size: clamp(2rem, 3.4vw, 2.8rem);
  line-height: 1.05;
  letter-spacing: -0.035em;
}

.form-heading > p:last-child {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 0.96rem;
}

.field {
  position: relative;
  margin-bottom: 20px;
}

label {
  margin-bottom: 8px;
  display: block;
  color: #27324a;
  font-size: 0.9rem;
  font-weight: 720;
}

input {
  width: 100%;
  min-height: 52px;
  padding: 0 15px;
  color: var(--ink);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  outline: none;
  transition: border-color 150ms ease, box-shadow 150ms ease, background-color 150ms ease;
}

input::placeholder {
  color: #98a2b3;
}

input:hover {
  border-color: #b6bfcc;
}

input:focus {
  border-color: var(--navy);
  box-shadow: 0 0 0 4px rgba(20, 33, 61, 0.09);
}

input[aria-invalid="true"] {
  border-color: var(--danger);
  background: #fff8f7;
}

.field-hint,
.field-error,
.phone-country {
  min-height: 18px;
  margin: 6px 0 0;
  font-size: 0.78rem;
  line-height: 1.45;
}

.field-hint {
  color: var(--muted);
}

.phone-country {
  display: block;
  color: #05603a;
  font-weight: 700;
}

.phone-country:empty {
  visibility: hidden;
}

.field-error {
  position: absolute;
  right: 0;
  bottom: -18px;
  left: 0;
  margin: 0;
  display: block;
  visibility: hidden;
  color: var(--danger);
}

.field-error:not(:empty) {
  visibility: visible;
}

button {
  position: relative;
  width: 100%;
  min-height: 56px;
  padding: 0 62px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  background: var(--navy);
  border: 0;
  border-radius: 12px;
  cursor: pointer;
  font-weight: 760;
  transition: background-color 150ms ease;
}

button:hover:not(:disabled) {
  background: #20325b;
}

button:focus-visible {
  outline: 3px solid rgba(255, 159, 28, 0.75);
  outline-offset: 3px;
}

button:disabled {
  cursor: wait;
  opacity: 0.72;
}

.button-arrow {
  position: absolute;
  right: 12px;
  top: 50%;
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  color: var(--navy);
  background: var(--saffron);
  border-radius: 50%;
  transform: translateY(-50%);
}

.button-arrow svg {
  width: 17px;
  height: 17px;
  display: block;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: transform 150ms ease;
}

button:hover:not(:disabled) .button-arrow svg {
  transform: translateX(3px);
}

.privacy-note {
  margin: 13px 0 0;
  color: var(--muted);
  font-size: 0.76rem;
  line-height: 1.45;
  text-align: center;
}

.form-status {
  height: 62px;
  margin-top: 18px;
  padding: 13px 14px;
  display: flex;
  align-items: center;
  visibility: hidden;
  border: 1px solid transparent;
  border-radius: 12px;
  font-size: 0.88rem;
  line-height: 1.55;
  overflow: auto;
}

.form-status.success,
.form-status.error {
  visibility: visible;
}

.form-status.success {
  color: #05603a;
  background: #ecfdf3;
  border-color: #abefc6;
}

.form-status.error {
  color: #912018;
  background: #fef3f2;
  border-color: #fecdca;
}

.noscript-message {
  padding: 12px;
  color: var(--danger);
  background: #fef3f2;
  border-radius: 10px;
}

@media (max-width: 900px) {
  .page-shell {
    width: min(700px, calc(100% - 28px));
    padding: 28px 0;
    grid-template-columns: 1fr;
  }

  .event-card {
    min-height: auto;
    border-radius: 24px 24px 0 0;
  }

  .event-copy {
    padding: 54px 0 44px;
  }

  .form-card {
    border-radius: 0 0 24px 24px;
  }
}

@media (max-width: 560px) {
  .page-shell {
    width: 100%;
    padding: 0;
  }

  .event-card,
  .form-card {
    padding: 30px 22px;
    border-radius: 0;
  }

  .event-copy {
    padding: 44px 0 38px;
  }

  h1 {
    font-size: clamp(2.45rem, 13vw, 3.5rem);
  }

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

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}
