:root {
  --teal: #7edae2;
  --orange: #ffb680;
  --teal-dark: #3b8f97;
  --orange-dark: #b26a39;
  --soft-gray: #f4f4f4;
  --card-border: #cfd3d6;
  --text: #444;
  --shadow: 0 10px 24px rgba(0, 0, 0, 0.1);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  background:
    radial-gradient(circle at top right, var(--bg-right, rgba(255, 182, 128, 0.22)), transparent 28%),
    radial-gradient(circle at top left, var(--bg-left, rgba(126, 218, 226, 0.22)), transparent 32%),
    var(--soft-gray);
  color: var(--text);
  font-family: "Poppins", "Helvetica Neue", Arial, sans-serif;
}

.page {
  width: var(--page-width, min(960px, calc(100% - 24px)));
  margin: 0 auto;
  padding: 24px 0 48px;
}

.header-stack {
  margin-bottom: 28px;
}

.logo-banner-card {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 72px;
  background: #fff;
  border-radius: 18px 18px 6px 6px;
  box-shadow: var(--shadow);
  padding: 0 20px;
}

.site-logo {
  position: absolute;
  left: 20px;
  width: 144px;
  height: 62px;
  object-fit: contain;
}

.announcement {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 62px;
  padding: 14px 20px;
  background: #fff;
  border: 2px solid transparent;
  border-image: linear-gradient(90deg, var(--teal) 0 50%, var(--orange) 50% 100%) 1;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.05);
  font-size: 16px;
  text-align: center;
}

.shell {
  display: grid;
  grid-template-columns: var(--shell-columns, minmax(260px, 320px) minmax(320px, 460px));
  gap: 22px;
  align-items: start;
}

.info-card,
.form-card,
.card {
  background: #fff;
  border: 2px solid var(--card-border);
  border-radius: 16px;
  box-shadow: var(--shadow);
  overflow: hidden;
}

.card-accent {
  height: 14px;
  background: linear-gradient(90deg, var(--accent-start, var(--teal)), var(--accent-end, var(--orange)));
}

.card-body {
  padding: 26px;
}

h1,
h2,
h3,
p {
  margin: 0;
}

.eyebrow {
  color: var(--eyebrow-color, var(--teal-dark));
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 10px;
}

.headline {
  font-size: clamp(28px, 4vw, 36px);
  line-height: 1.1;
  margin-bottom: 12px;
}

.lede {
  color: #5f6670;
  line-height: 1.7;
  margin-bottom: 18px;
}

.info-list,
.step-list {
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 10px;
}

.info-list li,
.step {
  padding: 12px 14px;
  border: 1px solid #dde3e6;
  border-radius: 12px;
  background: linear-gradient(180deg, #fff, #f9fbfb);
  font-size: 14px;
}

.step {
  display: grid;
  grid-template-columns: 38px 1fr;
  gap: 12px;
  align-items: start;
  border-radius: 14px;
  background: linear-gradient(180deg, #fff, #fafafa);
}

.step-number {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 999px;
  background: var(--teal);
  color: #24454a;
  font-weight: 600;
}

.step h3 {
  font-size: 16px;
  margin-bottom: 4px;
}

.step p {
  color: #66707a;
  font-size: 14px;
  line-height: 1.6;
}

.form-title {
  font-size: 28px;
  margin-bottom: 8px;
}

.form-subtitle {
  color: #66707a;
  margin-bottom: 20px;
  line-height: 1.6;
}

.message,
.error-banner {
  margin-bottom: 16px;
  padding: 12px 14px;
  border-radius: 12px;
  font-size: 14px;
}

.message.error,
.error-banner {
  background: rgba(178, 106, 57, 0.1);
  border: 1px solid rgba(178, 106, 57, 0.24);
  color: var(--orange-dark);
}

.message.success {
  background: rgba(126, 218, 226, 0.16);
  border: 1px solid rgba(59, 143, 151, 0.24);
  color: var(--teal-dark);
}

form {
  display: grid;
  gap: 14px;
}

label {
  display: grid;
  gap: 6px;
  font-size: 14px;
  font-weight: 600;
}

input,
select {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid #cfd3d6;
  border-radius: 12px;
  font: inherit;
  color: var(--text);
  background: #fff;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

input:focus,
select:focus {
  outline: none;
  border-color: var(--teal-dark);
  box-shadow: 0 0 0 4px rgba(126, 218, 226, 0.2);
}

.button-row {
  display: flex;
  gap: 12px;
  align-items: center;
  margin-top: 6px;
}

button,
.text-link {
  font: inherit;
}

button {
  justify-self: start;
  border: none;
  border-radius: 999px;
  padding: 12px 18px;
  background: var(--button-bg, var(--teal-dark));
  color: var(--button-text, #fff);
  font-weight: 600;
  cursor: pointer;
  box-shadow: var(--button-shadow, 0 8px 18px rgba(59, 143, 151, 0.24));
}

.text-link,
.meta-links a {
  color: var(--teal-dark);
  text-decoration: none;
  font-weight: 600;
}

.text-link.alt {
  color: var(--orange-dark);
}

.meta-links {
  margin-top: 18px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px 18px;
  font-size: 14px;
}

.success-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 18px;
}

.success-actions a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 18px;
  border-radius: 12px;
  text-decoration: none;
  font-weight: 600;
}

.success-actions .primary-link {
  background: linear-gradient(90deg, var(--orange), var(--teal));
  color: #24454a;
  box-shadow: var(--shadow);
}

.success-actions .secondary-link {
  border: 1px solid #cfd3d6;
  color: var(--text);
  background: #fff;
}

@media (max-width: 860px) {
  .page {
    width: min(100%, calc(100% - 20px));
    padding-top: 18px;
  }

  .logo-banner-card {
    height: auto;
    min-height: 72px;
    padding: 12px 16px;
    justify-content: flex-end;
  }

  .site-logo {
    position: static;
    transform: none;
  }

  .shell {
    grid-template-columns: 1fr;
  }
}
