:root {
  --navy: #0b114f;
  --navy-deep: #080d38;
  --sky: #64d1ff;
  --sky-soft: rgba(100, 209, 255, 0.14);
  --text: #172033;
  --muted: #667189;
  --line: #d9e2f2;
  --bg: #eef3fb;
  --white: #ffffff;
  --success: #0f8a5f;
  --danger: #c23b3b;
  --shadow: 0 18px 40px rgba(8, 13, 56, 0.12);
  --radius-xl: 24px;
  --radius-lg: 18px;
  --radius-md: 12px;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
  font-family: 'Inter', sans-serif;
  background: linear-gradient(180deg, #f4f7fc 0%, #eaf0f9 100%);
  color: var(--text);
}

body {
  min-height: 100vh;
}

.page-shell {
  width: min(1120px, calc(100% - 24px));
  margin: 20px auto 40px;
}

.hero-card,
.form-card {
  background: var(--white);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow);
}

.hero-card {
  padding: 22px;
  margin-bottom: 20px;
  overflow: hidden;
  position: relative;
}

.hero-card::after {
  content: '';
  position: absolute;
  inset: auto -80px -80px auto;
  width: 220px;
  height: 220px;
  background: radial-gradient(circle, rgba(100, 209, 255, 0.18), rgba(100, 209, 255, 0));
  pointer-events: none;
}

.brand-lockup {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 24px;
  align-items: center;
}

.brand-logo-wrap {
  background: var(--navy);
  border-radius: 22px;
  padding: 24px;
  min-height: 180px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.brand-logo {
  width: 100%;
  max-width: 250px;
  height: auto;
  display: block;
}

.eyebrow {
  display: inline-flex;
  padding: 8px 12px;
  border-radius: 999px;
  background: var(--sky-soft);
  color: var(--navy);
  font-size: 0.85rem;
  font-weight: 700;
  margin-bottom: 14px;
}

.brand-copy h1 {
  margin: 0 0 10px;
  font-size: clamp(1.8rem, 3vw, 2.7rem);
  line-height: 1.05;
  color: var(--navy-deep);
}

.brand-copy p,
.section-heading p,
.notice-box p {
  margin: 0;
  color: var(--muted);
  line-height: 1.6;
}

.hero-notes {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 18px;
}

.hero-pill {
  padding: 10px 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #f9fbff;
  font-size: 0.92rem;
  font-weight: 600;
}

.form-card {
  padding: 14px;
}
.quick-guide {
  background: linear-gradient(180deg, rgba(11, 17, 79, 0.03), rgba(100, 209, 255, 0.08));
}

.guide-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.guide-item {
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(255,255,255,0.9);
  padding: 14px 16px;
  font-weight: 600;
  color: var(--navy-deep);
}

.hidden {
  display: none !important;
}


.form-section {
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 18px;
  margin-bottom: 14px;
  background: #fcfdff;
}

.section-heading {
  margin-bottom: 16px;
}

.section-heading h2 {
  margin: 0 0 6px;
  color: var(--navy-deep);
  font-size: 1.15rem;
}

.inline-heading {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}

.toggle-wrap {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
  color: var(--navy-deep);
}

.toggle-wrap input {
  width: 22px;
  height: 22px;
}

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

.two-col {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.one-col {
  grid-template-columns: 1fr;
}

.full-width {
  grid-column: 1 / -1;
}

label {
  display: flex;
  flex-direction: column;
  gap: 7px;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--navy-deep);
}

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

input,
select,
textarea {
  width: 100%;
  border: 1px solid var(--line);
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 13px 14px;
  color: var(--text);
  transition: border-color 0.18s ease, box-shadow 0.18s ease, transform 0.18s ease;
}

input:focus,
select:focus,
textarea:focus {
  outline: none;
  border-color: var(--sky);
  box-shadow: 0 0 0 4px rgba(100, 209, 255, 0.16);
}

textarea {
  resize: vertical;
  min-height: 90px;
}

.checkbox-line {
  flex-direction: row;
  align-items: flex-start;
  gap: 12px;
  font-weight: 500;
  color: var(--text);
}

.checkbox-line input {
  width: 20px;
  height: 20px;
  margin-top: 2px;
  flex: 0 0 20px;
}

.notice-box {
  background: linear-gradient(180deg, rgba(11, 17, 79, 0.03), rgba(100, 209, 255, 0.08));
  border: 1px solid rgba(100, 209, 255, 0.22);
  border-radius: 16px;
  padding: 16px;
  margin-bottom: 16px;
}

.notice-box p + p {
  margin-top: 12px;
}

.actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 10px 8px 6px;
  flex-wrap: wrap;
}

button {
  appearance: none;
  border: 0;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--navy), #18257c);
  color: var(--white);
  padding: 15px 24px;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 14px 24px rgba(11, 17, 79, 0.18);
}

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

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

.status-message {
  min-height: 24px;
  font-size: 0.95rem;
  color: var(--muted);
}

.status-message.success {
  color: var(--success);
  font-weight: 600;
}

.status-message.error {
  color: var(--danger);
  font-weight: 600;
}

.hidden {
  display: none;
}

@media (max-width: 860px) {
  .brand-lockup,
  .two-col,
  .inline-heading {
    grid-template-columns: 1fr;
    display: grid;
  }

  .inline-heading {
    align-items: start;
  }

  .brand-logo-wrap {
    min-height: 150px;
  }
}

@media (max-width: 640px) {
  .page-shell {
    width: min(100% - 12px, 100%);
    margin: 10px auto 24px;
  }

  .hero-card,
  .form-card {
    border-radius: 18px;
  }

  .hero-card,
  .form-card,
  .form-section {
    padding: 14px;
  }

  .actions {
    align-items: stretch;
  }

  button {
    width: 100%;
  }
}
