@import url("https://fonts.googleapis.com/css2?family=Bayon&family=Raleway:wght@400;500;600;700;800&display=swap");

:root {
  color-scheme: light;
  --ink: #1e293b;
  --muted: #667085;
  --line: #d1d5db;
  --paper: #ffffff;
  --page: #f0f5fa;
  --yellow: #ffe21b;
  --pink: #e7317a;
  --black: #111111;
  --slate: #334155;
  --danger: #b42318;
  --ok-bg: #e8fff5;
  --warn-bg: #fff8d8;
  font-family: Raleway, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background:
    linear-gradient(135deg, rgba(255, 226, 27, 0.22), transparent 34rem),
    linear-gradient(315deg, rgba(231, 49, 122, 0.13), transparent 30rem),
    var(--page);
  color: var(--ink);
}

.shell {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
  padding: 36px 0;
}

.intro {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  padding: 16px 0 28px;
}

.eyebrow {
  margin: 0 0 8px;
  color: var(--pink);
  font-family: Bayon, Raleway, sans-serif;
  font-size: 1rem;
  font-weight: 400;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

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

h1 {
  margin-bottom: 8px;
  color: var(--black);
  font-family: Bayon, Raleway, sans-serif;
  font-size: clamp(3rem, 6vw, 5rem);
  font-weight: 500;
  line-height: 0.92;
  letter-spacing: 0;
  text-transform: uppercase;
}

.lede {
  max-width: 620px;
  margin-bottom: 0;
  color: var(--slate);
  font-size: 1.04rem;
  font-weight: 600;
}

.brand-mark {
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  width: 84px;
  height: 84px;
  border: 3px solid var(--black);
  border-radius: 6px;
  background: var(--yellow);
  color: var(--black);
  font-family: Bayon, Raleway, sans-serif;
  font-weight: 500;
  font-size: 1.65rem;
  box-shadow: 8px 8px 0 var(--pink);
}

.content-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  gap: 22px;
  align-items: start;
}

.request-form,
.policy {
  border: 1px solid var(--line);
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 20px 48px rgba(17, 17, 17, 0.1);
}

.request-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px 16px;
  padding: 24px;
}

.field {
  min-width: 0;
}

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

label {
  display: block;
  margin-bottom: 8px;
  color: #111827;
  font-size: 0.94rem;
  font-weight: 700;
}

input,
select,
textarea {
  width: 100%;
  min-height: 48px;
  border: 1px solid #cfd5da;
  border-radius: 4px;
  background: #fff;
  color: var(--ink);
  font: inherit;
  letter-spacing: 0;
}

input,
select {
  padding: 0 14px;
}

textarea {
  resize: vertical;
  padding: 12px 14px;
  line-height: 1.45;
}

input:focus,
select:focus,
textarea:focus {
  border-color: var(--pink);
  box-shadow: 0 0 0 3px rgba(231, 49, 122, 0.18);
  outline: none;
}

.input-shell {
  position: relative;
}

.input-shell input {
  padding-left: 44px;
}

.input-shell::before {
  position: absolute;
  left: 14px;
  top: 50%;
  width: 18px;
  height: 18px;
  transform: translateY(-50%);
  opacity: 0.58;
  content: "";
  background: currentColor;
}

.icon-person::before {
  clip-path: path("M9 9.5a4 4 0 1 0 0-8 4 4 0 0 0 0 8Zm0 2c-3.8 0-7 2.4-7 5.2 0 .4.3.8.8.8h12.4c.5 0 .8-.4.8-.8 0-2.8-3.2-5.2-7-5.2Z");
}

.icon-calendar::before {
  clip-path: path("M4 1h2v2h6V1h2v2h2.2c1 0 1.8.8 1.8 1.8v11.4c0 1-.8 1.8-1.8 1.8H1.8c-1 0-1.8-.8-1.8-1.8V4.8C0 3.8.8 3 1.8 3H4V1Zm12 7H2v8h14V8ZM2 5v1h14V5H2Z");
}

.hint {
  margin: 7px 0 10px;
  color: #8a94a0;
  font-size: 0.78rem;
  font-weight: 600;
}

.toggle,
.confirm-row {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0;
  color: #3f474e;
  font-weight: 600;
}

.toggle input,
.confirm-row input {
  accent-color: var(--pink);
  width: 20px;
  height: 20px;
  min-height: 20px;
}

.location-note {
  margin: -4px 0 4px;
  color: #6b7280;
  font-size: 0.9rem;
  line-height: 1.35;
}

.notice-panel {
  display: none;
  border: 1px solid #ead18a;
  border-radius: 4px;
  background: var(--warn-bg);
  color: #5d4300;
  padding: 13px 14px;
  font-size: 0.92rem;
  line-height: 1.35;
}

.notice-panel.visible {
  display: block;
}

.form-status {
  display: none;
  border-radius: 4px;
  padding: 13px 14px;
  font-size: 0.92rem;
  line-height: 1.35;
}

.form-status.visible {
  display: block;
}

.form-status.success {
  border: 1px solid #87e8c3;
  background: var(--ok-bg);
  color: #006140;
}

.form-status.error {
  border: 1px solid #f2b8b5;
  background: #fff0ef;
  color: var(--danger);
}

.submit-button {
  min-height: 52px;
  border: 0;
  border-radius: 4px;
  background: var(--yellow);
  color: var(--black);
  cursor: pointer;
  font-family: Bayon, Raleway, sans-serif;
  font-size: 1.35rem;
  font-weight: 500;
  letter-spacing: 0;
  text-transform: uppercase;
  transition:
    background 150ms ease,
    color 150ms ease,
    transform 150ms ease;
}

.submit-button:hover {
  background: var(--pink);
  color: #fff;
}

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

.submit-button:disabled {
  cursor: wait;
  opacity: 0.7;
}

.policy {
  padding: 22px;
}

.policy h2 {
  margin-bottom: 10px;
  color: var(--black);
  font-family: Bayon, Raleway, sans-serif;
  font-size: 2rem;
  font-weight: 500;
  line-height: 0.98;
  text-transform: uppercase;
}

.policy p {
  color: var(--slate);
  font-weight: 600;
  line-height: 1.45;
}

.policy dl {
  display: grid;
  gap: 12px;
  margin: 20px 0;
}

.policy dl div {
  border-left: 4px solid var(--pink);
  border-radius: 0 4px 4px 0;
  background: var(--soft);
  padding: 12px 14px;
}

.policy dt {
  margin-bottom: 3px;
  color: var(--black);
  font-weight: 850;
}

.policy dd {
  margin: 0;
  color: var(--slate);
  font-weight: 600;
}

.short-notice-note {
  border-left: 4px solid var(--yellow);
  border-radius: 0 4px 4px 0;
  background: #fffbe8;
  padding: 12px 14px;
  color: var(--slate);
  font-size: 0.92rem;
  font-weight: 700;
  line-height: 1.4;
}

.admin-callout {
  border: 2px solid var(--yellow);
  border-radius: 4px;
  background: var(--black);
  padding: 15px;
}

.admin-callout h3 {
  margin-bottom: 6px;
  color: var(--yellow);
  font-family: Bayon, Raleway, sans-serif;
  font-size: 1.4rem;
  font-weight: 500;
  line-height: 1;
  text-transform: uppercase;
}

.admin-callout p {
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.88);
}

@media (max-width: 850px) {
  .shell {
    width: min(100% - 24px, 680px);
    padding-top: 24px;
  }

  .intro {
    align-items: flex-start;
  }

  .brand-mark {
    width: 64px;
    height: 64px;
    font-size: 1.25rem;
    box-shadow: 6px 6px 0 var(--pink);
  }

  .content-grid,
  .request-form {
    grid-template-columns: 1fr;
  }

  .policy {
    order: -1;
  }
}

@media (max-width: 520px) {
  .shell {
    width: 100%;
    padding: 18px 12px;
  }

  .intro {
    display: block;
  }

  .brand-mark {
    margin-top: 18px;
  }

  .request-form,
  .policy {
    padding: 18px;
  }
}
