:root {
  --ink: #111418;
  --muted: #66717d;
  --line: #dfe5e1;
  --paper: #f6f8f5;
  --surface: #ffffff;
  --green: #0f8f67;
  --green-soft: #e5f6ee;
  --danger: #c4362e;
  --shadow: 0 18px 56px rgba(17, 20, 24, 0.1);
  --radius: 8px;
}

* {
  box-sizing: border-box;
}

body {
  min-height: 100vh;
  margin: 0;
  display: grid;
  place-items: center;
  padding: 20px;
  color: var(--ink);
  background: var(--paper);
  font-family: "Emmanuel Sans", "Segoe UI", Arial, sans-serif;
}

a {
  color: inherit;
  text-decoration: none;
}

.payment-container {
  width: min(440px, 100%);
}

.payment-card {
  display: grid;
  gap: 16px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow);
}

.payment-logo {
  width: fit-content;
  display: inline-flex;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
}

.payment-logo img {
  width: 142px;
}

.eyebrow {
  width: fit-content;
  margin: 10px 0 0;
  color: var(--green);
  font-size: 0.76rem;
  font-weight: 900;
  text-transform: uppercase;
}

h1 {
  margin: 0;
  font-size: clamp(2rem, 9vw, 3.1rem);
  line-height: 0.96;
  letter-spacing: 0;
}

.subtitle,
.secure-note {
  margin: 0;
  color: var(--muted);
  line-height: 1.5;
}

.submit-form,
.secondary-link {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  font-weight: 900;
}

.submit-form {
  border: 0;
  color: #fff;
  background: var(--ink);
  cursor: pointer;
}

.submit-form:hover {
  background: var(--green);
}

.submit-form:disabled {
  cursor: wait;
  opacity: 0.68;
}

.secondary-link {
  border: 1px solid var(--line);
  color: var(--ink);
  background: var(--green-soft);
}

.secure-note {
  padding: 11px 12px;
  border-radius: var(--radius);
  background: var(--green-soft);
  font-size: 0.9rem;
}

.secure-note.is-error {
  color: var(--danger);
  background: #f9e8e6;
}
