:root {
  color-scheme: light;
  font-family: Arial, sans-serif;
  color: #2b2b2b;
  background: #f4f4f4;
}

body {
  margin: 0;
}

[hidden] {
  display: none !important;
}

.purchase-shell {
  box-sizing: border-box;
  width: min(100% - 32px, 620px);
  margin: clamp(24px, 8vh, 88px) auto;
  padding: clamp(24px, 5vw, 42px);
  background: #ffffff;
  border: 1px solid #d0d0d0;
  border-radius: 6px;
}

.eyebrow {
  margin: 0 0 12px;
  font-size: 13px;
  font-weight: 700;
  color: #555555;
}

h1 {
  margin: 0;
  font-size: clamp(26px, 5vw, 34px);
  line-height: 1.15;
}

.intro {
  margin: 16px 0 24px;
  line-height: 1.5;
}

form {
  display: grid;
  gap: 10px;
}

label {
  font-size: 14px;
  font-weight: 700;
}

input,
select {
  box-sizing: border-box;
  width: 100%;
  padding: 11px 12px;
  border: 1px solid #b8b8b8;
  border-radius: 4px;
  font: inherit;
}

#buyer-country-field {
  display: grid;
  gap: 10px;
}

button,
.secondary-action {
  box-sizing: border-box;
  display: inline-block;
  min-height: 44px;
  padding: 11px 16px;
  border: 1px solid #333333;
  border-radius: 4px;
  font:
    700 15px Arial,
    sans-serif;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
}

button {
  color: #ffffff;
  background: #333333;
}

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

.secondary-action {
  color: #333333;
  background: #ffffff;
}

#ready-actions,
#download-panel {
  display: grid;
  gap: 12px;
  justify-items: start;
}

.note,
.help {
  color: #555555;
  font-size: 14px;
  line-height: 1.5;
}

.policy-shell {
  width: min(100% - 32px, 760px);
}

.policy-shell h2 {
  margin: 28px 0 8px;
  font-size: 20px;
}

.policy-shell p:not(.eyebrow) {
  line-height: 1.6;
}

.help {
  margin-top: 28px;
  padding-top: 16px;
  border-top: 1px solid #d0d0d0;
}

.error {
  color: #444444;
  font-weight: 700;
  line-height: 1.5;
}

a {
  color: #333333;
}

input:focus-visible,
select:focus-visible,
button:focus-visible,
a:focus-visible {
  outline: 3px solid #555555;
  outline-offset: 2px;
}
