:root {
  --bg: #121010;
  --panel: rgba(26, 22, 22, 0.86);
  --panel-strong: #1a1717;
  --text: #f4eae5;
  --muted: #bdaea8;
  --line: rgba(226, 143, 123, 0.16);
  --accent: #e28f7b;
  --accent-deep: #f1a18f;
  --accent-soft: rgba(226, 143, 123, 0.14);
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.38);
  --radius-xl: 32px;
  --radius-lg: 22px;
  --radius-md: 16px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: "Trebuchet MS", "Gill Sans", "Segoe UI", sans-serif;
  color: var(--text);
  background:
    radial-gradient(
      circle at top left,
      rgba(226, 143, 123, 0.18),
      transparent 24rem
    ),
    radial-gradient(
      circle at bottom right,
      rgba(138, 83, 69, 0.16),
      transparent 24rem
    ),
    linear-gradient(180deg, #171313 0%, #0f0d0d 100%);
}

img {
  max-width: 100%;
  display: block;
}

button,
input,
textarea {
  font: inherit;
}

.page-shell {
  position: relative;
  overflow: hidden;
}

.ambient {
  position: fixed;
  z-index: 0;
  border-radius: 999px;
  filter: blur(10px);
  opacity: 0.9;
  pointer-events: none;
}

.ambient-one {
  width: 18rem;
  height: 18rem;
  top: 5rem;
  right: -4rem;
  background: rgba(226, 143, 123, 0.16);
}

.ambient-two {
  width: 20rem;
  height: 20rem;
  left: -6rem;
  bottom: 8rem;
  background: rgba(141, 93, 78, 0.16);
}

.layout {
  position: relative;
  z-index: 1;
  width: min(1080px, calc(100% - 2rem));
  margin: 0 auto;
  padding: 40px 0 56px;
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}

.hero-panel,
.form-panel {
  position: relative;
  backdrop-filter: blur(18px);
  background: var(--panel);
  border: 1px solid rgba(255, 255, 255, 0.06);
  box-shadow: var(--shadow);
}

.hero-panel {
  padding: 34px;
  border-radius: var(--radius-xl);
  display: flex;
  flex-direction: column;
}

.hero-topline,
.section-kicker,
.eyebrow,
.note-label {
  text-transform: uppercase;
  letter-spacing: 0.16em;
}

.hero-topline,
.section-kicker {
  font-size: 0.74rem;
  color: var(--muted);
}

.hero-brand {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 18px;
}

.brand-mark {
  width: 108px;
  flex: 0 0 auto;
}

.brand-mark img {
  width: 100%;
  height: auto;
  border-radius: 22px;
  display: block;
  box-shadow: 0 20px 38px rgba(226, 143, 123, 0.16);
}

.eyebrow {
  margin: 0 0 10px;
  color: var(--accent-deep);
  font-size: 0.72rem;
  font-weight: 700;
}

.hero-panel h1,
.form-panel h2 {
  margin: 0;
  font-family: "Palatino Linotype", "Book Antiqua", Georgia, serif;
  font-weight: 700;
  line-height: 1.05;
}

.hero-panel h1 {
  font-size: clamp(2.2rem, 4vw, 3.4rem);
  max-width: none;
}

.hero-copy {
  margin: 18px 0 24px;
  max-width: none;
  color: var(--muted);
  line-height: 1.7;
}

.guidelines-cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 18px;
}

.guidelines-label {
  color: var(--muted);
  font-size: 0.95rem;
  font-weight: 600;
  line-height: 1.5;
}

.guidelines-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: fit-content;
  min-height: 34px;
  padding: 0 14px;
  border-radius: 999px;
  background: var(--accent);
  color: #140f0f;
  text-decoration: none;
  font-weight: 800;
  font-size: 0.75rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  transition:
    transform 160ms ease,
    background 160ms ease,
    box-shadow 160ms ease;
  box-shadow: 0 16px 28px rgba(226, 143, 123, 0.26);
}

.guidelines-link:hover,
.guidelines-link:focus-visible,
.submit-button:hover,
.submit-button:focus-visible {
  transform: translateY(-2px);
  background: var(--accent-deep);
}

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

.hero-notes article {
  padding: 18px 18px 16px;
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(226, 143, 123, 0.1);
}

.note-label {
  display: block;
  margin-bottom: 8px;
  font-size: 0.66rem;
  color: var(--accent-deep);
}

.hero-notes strong {
  display: block;
  font-family: "Palatino Linotype", "Book Antiqua", Georgia, serif;
  font-size: 1rem;
}

.hero-notes p {
  margin: 8px 0 0;
  color: var(--muted);
  line-height: 1.6;
}

.form-panel {
  padding: 30px;
  border-radius: var(--radius-xl);
}

.panel-head {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 18px;
  margin-bottom: 18px;
}

.form-panel h2 {
  font-size: clamp(1.8rem, 3vw, 2.6rem);
}

.required-note {
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
}

.required-note span,
.field strong,
.upload-title strong {
  color: var(--accent-deep);
}

.amib-form {
  display: grid;
  gap: 18px;
}

.form-section {
  margin: 0;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--panel-strong);
}

.form-section legend {
  padding: 0 12px 0 0;
  font-family: "Palatino Linotype", "Book Antiqua", Georgia, serif;
  font-size: 1.15rem;
  font-weight: 700;
}

.section-index {
  display: inline-grid;
  place-items: center;
  width: 34px;
  height: 34px;
  margin-right: 10px;
  border-radius: 999px;
  background: var(--accent-soft);
  color: var(--accent-deep);
  font-size: 0.86rem;
  font-family: "Trebuchet MS", "Gill Sans", "Segoe UI", sans-serif;
}

.section-copy {
  margin: 4px 0 16px;
  color: var(--muted);
  line-height: 1.7;
}

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

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

.field {
  display: grid;
  gap: 10px;
}

.field span {
  font-size: 0.95rem;
  font-weight: 500;
}

.field input,
.field textarea {
  width: 100%;
  padding: 15px 16px;
  border: 1px solid rgba(226, 143, 123, 0.12);
  border-radius: 14px;
  background: #110f0f;
  color: var(--text);
  transition:
    border-color 160ms ease,
    box-shadow 160ms ease,
    transform 160ms ease;
}

.field input::placeholder,
.field textarea::placeholder {
  color: #8f7f79;
}

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

.field input:focus,
.field textarea:focus,
.upload-card:focus-within,
.check-card:focus-within,
.declaration-card:focus-within {
  outline: none;
  border-color: rgba(226, 143, 123, 0.45);
  box-shadow: 0 0 0 4px rgba(226, 143, 123, 0.14);
}

.upload-stack,
.checkbox-grid {
  display: grid;
  gap: 14px;
}

.upload-card {
  position: relative;
  display: grid;
  gap: 8px;
  padding: 18px;
  border: 1px dashed rgba(226, 143, 123, 0.42);
  border-radius: var(--radius-md);
  background: linear-gradient(
    180deg,
    rgba(226, 143, 123, 0.08),
    rgba(255, 255, 255, 0.02)
  );
  cursor: pointer;
}

.file-input {
  position: absolute;
  inset: 0;
  opacity: 0;
  cursor: pointer;
}

.upload-title {
  font-weight: 700;
}

.upload-meta,
.upload-filename {
  color: var(--muted);
  line-height: 1.6;
}

.upload-filename {
  font-size: 0.92rem;
  color: var(--accent-deep);
}

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

.check-card,
.declaration-card {
  display: flex;
  align-items: start;
  gap: 12px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: #141111;
  line-height: 1.6;
}

.check-card input,
.declaration-card input {
  margin-top: 3px;
  accent-color: var(--accent);
  inline-size: 18px;
  block-size: 18px;
  flex: 0 0 auto;
}

.submit-row {
  display: flex;
  justify-content: flex-end;
}

.submit-button {
  border: 0;
  min-height: 56px;
  padding: 0 28px;
  border-radius: 999px;
  background: var(--accent);
  color: #140f0f;
  font-weight: 700;
  cursor: pointer;
  transition:
    transform 160ms ease,
    background 160ms ease,
    box-shadow 160ms ease;
  box-shadow: 0 16px 28px rgba(226, 143, 123, 0.26);
}

@media (max-width: 980px) {
  .hero-panel h1 {
    max-width: none;
  }
}

@media (max-width: 720px) {
  .layout {
    width: min(100% - 1rem, 1180px);
    padding: 18px 0 28px;
    gap: 16px;
  }

  .hero-panel,
  .form-panel {
    padding: 22px;
    border-radius: 24px;
  }

  .hero-brand {
    align-items: flex-start;
    gap: 12px;
  }

  .guidelines-cta {
    display: grid;
    justify-items: start;
  }

  .panel-head,
  .submit-row {
    display: grid;
    gap: 10px;
  }

  .two-col,
  .checkbox-grid {
    grid-template-columns: 1fr;
  }

  .hero-notes {
    grid-template-columns: 1fr;
  }

  .guidelines-link,
  .submit-button {
    width: 100%;
  }
}
