:root {
  --bg: #f1eee7;
  --bg-accent: #ddd3c3;
  --panel: rgba(255, 252, 247, 0.84);
  --panel-border: rgba(78, 56, 27, 0.18);
  --text: #2a1d12;
  --muted: #72604f;
  --primary: #0c6d5d;
  --primary-hover: #085649;
  --secondary: #efe5d8;
  --secondary-hover: #e4d5c3;
  --danger: #a33b30;
  --shadow: 0 30px 60px rgba(70, 44, 12, 0.14);
  --radius: 22px;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--text);
  font-family: "IBM Plex Sans", "Segoe UI", sans-serif;
  background:
    radial-gradient(circle at top left, rgba(12, 109, 93, 0.18), transparent 30%),
    radial-gradient(circle at bottom right, rgba(163, 59, 48, 0.12), transparent 25%),
    linear-gradient(180deg, var(--bg), var(--bg-accent));
}

.shell {
  width: min(1180px, calc(100vw - 32px));
  margin: 0 auto;
  padding: 32px 0 56px;
}

.shell-narrow {
  width: min(760px, calc(100vw - 32px));
}

.hero {
  padding: 18px 4px 28px;
}

.eyebrow {
  display: inline-block;
  margin: 0 0 12px;
  padding: 7px 12px;
  border-radius: 999px;
  background: rgba(12, 109, 93, 0.12);
  color: var(--primary);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

h1 {
  margin: 0;
  font-size: clamp(32px, 6vw, 54px);
  line-height: 0.95;
  letter-spacing: -0.04em;
  max-width: 800px;
}

h2 {
  margin: 0 0 18px;
  font-size: 24px;
}

h3 {
  margin: 0;
  font-size: 20px;
}

.lede {
  max-width: 720px;
  margin: 16px 0 0;
  line-height: 1.65;
  color: var(--muted);
  font-size: 17px;
}

.grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 24px;
}

.panel {
  background: var(--panel);
  border: 1px solid var(--panel-border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  backdrop-filter: blur(14px);
  padding: 24px;
}

.methods-grid {
  display: grid;
  gap: 18px;
}

.method-card {
  border: 1px solid rgba(42, 29, 18, 0.12);
  border-radius: 20px;
  padding: 18px;
  background: rgba(255, 255, 255, 0.55);
}

.method-card header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
}

.method-card header span {
  color: var(--muted);
  font-weight: 700;
}

.method-card ul {
  margin: 0 0 14px 18px;
  padding: 0;
  color: var(--muted);
  line-height: 1.55;
}

.destination-list {
  display: grid;
  gap: 8px;
  margin-bottom: 14px;
}

.destination-row {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 10px 12px;
  border-radius: 14px;
  background: rgba(239, 229, 216, 0.7);
}

.destination-row span {
  color: var(--muted);
}

.destination-row strong {
  text-align: right;
}

.note {
  margin: 0 0 14px;
  color: var(--danger);
  font-size: 14px;
}

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

.context-card {
  margin-bottom: 18px;
  border-radius: 18px;
  padding: 18px;
  background: rgba(12, 109, 93, 0.1);
  border: 1px solid rgba(12, 109, 93, 0.16);
}

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

.context-block {
  display: grid;
  gap: 4px;
  padding: 12px 14px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.6);
}

.context-label {
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.context-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 14px;
}

.context-chip {
  display: inline-flex;
  gap: 8px;
  align-items: center;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.68);
  font-size: 13px;
}

.context-request {
  display: grid;
  gap: 10px;
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px dashed rgba(42, 29, 18, 0.14);
}

.context-request div {
  display: flex;
  justify-content: space-between;
  gap: 12px;
}

.context-request span,
.context-muted,
.field-hint {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.5;
}

.field-hint {
  margin: -4px 0 0;
}

.payment-form label {
  display: grid;
  gap: 8px;
  font-weight: 600;
}

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

input,
select,
textarea {
  width: 100%;
  border: 1px solid rgba(42, 29, 18, 0.18);
  border-radius: 14px;
  padding: 13px 14px;
  background: rgba(255, 255, 255, 0.82);
  color: var(--text);
}

input[readonly] {
  background: rgba(239, 229, 216, 0.88);
}

textarea {
  resize: vertical;
}

button {
  appearance: none;
  border: 0;
  border-radius: 16px;
  padding: 14px 18px;
  font-weight: 700;
  cursor: pointer;
  transition: transform 0.16s ease, background 0.16s ease;
}

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

.primary {
  background: var(--primary);
  color: #fefbf6;
}

.primary:hover {
  background: var(--primary-hover);
}

.secondary {
  background: var(--secondary);
  color: var(--text);
}

.secondary:hover {
  background: var(--secondary-hover);
}

.result,
.status-card {
  margin-top: 18px;
  border-radius: 18px;
  padding: 18px;
  background: rgba(12, 109, 93, 0.08);
  border: 1px solid rgba(12, 109, 93, 0.14);
}

.result.error,
.status-card.error {
  background: rgba(163, 59, 48, 0.08);
  border-color: rgba(163, 59, 48, 0.18);
}

.status-grid {
  display: grid;
  gap: 10px;
}

.status-row {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  border-bottom: 1px dashed rgba(42, 29, 18, 0.14);
  padding-bottom: 8px;
}

.status-row:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.pill {
  display: inline-block;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(12, 109, 93, 0.12);
  font-weight: 700;
  text-transform: uppercase;
  font-size: 12px;
  letter-spacing: 0.08em;
}

.pill.pending {
  background: rgba(203, 125, 14, 0.16);
  color: #7a4200;
}

.pill.approved {
  background: rgba(12, 109, 93, 0.16);
  color: var(--primary);
}

.pill.rejected {
  background: rgba(163, 59, 48, 0.16);
  color: var(--danger);
}

@media (max-width: 900px) {
  .grid {
    grid-template-columns: 1fr;
  }
}

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

  .panel {
    padding: 18px;
  }

  .destination-row,
  .status-row,
  .method-card header,
  .context-request div {
    flex-direction: column;
    align-items: flex-start;
  }

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