@import url("./fonts/fonts.css");

:root {
  color-scheme: light;
  --page: #f6f7f2;
  --surface: #ffffff;
  --ink: #203c34;
  --forest: #183e35;
  --forest-hover: #245347;
  --lime: #dcf99b;
  --muted: #79827a;
  --body: #616e65;
  --line: #e8ebe3;
  --soft: #f7f8f4;
  --error: #a33f36;
  --error-bg: #fff6f3;
  --sans: "Manrope", Arial, sans-serif;
  --serif: "Instrument Serif", Georgia, serif;
}

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

html {
  min-width: 320px;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--page);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 14px;
  font-weight: 400;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body,
button,
input {
  font-feature-settings: "ss01" on;
}

button,
input {
  font: inherit;
}

button,
summary,
a {
  -webkit-tap-highlight-color: transparent;
}

button {
  color: inherit;
  cursor: pointer;
}

button:disabled {
  cursor: not-allowed;
}

.icon-button:disabled {
  opacity: 0.42;
}

button,
input,
summary,
a {
  touch-action: manipulation;
}

button,
input,
fieldset {
  min-width: 0;
}

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

button,
input,
h1,
h2,
p,
ol,
dl,
dd {
  margin: 0;
}

button {
  border: 0;
}

::selection {
  background: var(--lime);
  color: var(--forest);
}

:focus-visible {
  outline: 3px solid #649c64;
  outline-offset: 4px;
}

[hidden] {
  display: none !important;
}

.icon-definitions {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
  pointer-events: none;
}

.icon {
  display: block;
  width: 19px;
  height: 19px;
  flex: 0 0 auto;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.65;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.container,
.preview-bar-inner {
  width: min(1120px, calc(100% - 80px));
  margin-inline: auto;
}

.preview-bar {
  border-bottom: 1px solid #e1e7d7;
  background: #edf1e6;
  color: #596553;
}

.preview-bar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 38px;
  gap: 20px;
}

.preview-bar p {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 11px;
  line-height: 1.5;
}

.preview-bar strong {
  color: #3c513f;
  font-weight: 650;
}

.preview-dot {
  width: 5px;
  height: 5px;
  flex: 0 0 auto;
  border-radius: 50%;
  background: #7f945f;
}

.preview-explanation {
  margin-left: 3px;
  color: #7a8372;
}

#fill-demo {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  flex: 0 0 auto;
  min-height: 34px;
  padding: 0;
  background: transparent;
  font-size: 11px;
  font-weight: 650;
  transition: color 160ms ease;
}

#fill-demo:hover {
  color: var(--forest);
}

#fill-demo > span {
  font-size: 16px;
  font-weight: 400;
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 124px;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  border-radius: 8px;
  color: var(--forest);
}

.brand-mark {
  display: block;
  width: 36px;
  height: 36px;
  flex: 0 0 auto;
}

.brand-wordmark {
  font-size: 25px;
  font-weight: 800;
  letter-spacing: -1.25px;
  line-height: 1;
}

.brand-wordmark > span:first-child {
  font-weight: 500;
}

.brand-period {
  color: #9ab86d;
}

.header-meta {
  display: flex;
  align-items: center;
  gap: 28px;
}

.payment-method {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #69756b;
  font-size: 11px;
  font-weight: 500;
}

.payment-method .icon {
  width: 16px;
  height: 16px;
}

.locale {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding-left: 26px;
  border-left: 1px solid #dce2d7;
  font-size: 11px;
  font-weight: 600;
}

.locale > span {
  position: relative;
  top: -2px;
  color: #849080;
  font-size: 15px;
}

.checkout-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  align-items: start;
  gap: 64px;
  margin-top: 8px;
}

.checkout-aside {
  min-width: 0;
  padding-top: 23px;
}

.aside-intro {
  max-width: 410px;
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 23px;
  color: #63705f;
  font-size: 11px;
  font-weight: 650;
  letter-spacing: 1.5px;
  line-height: 1.4;
}

.eyebrow > span {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #96af75;
}

h1 {
  color: var(--forest);
  font-size: clamp(52px, 4.7vw, 68px);
  font-weight: 500;
  letter-spacing: -3.8px;
  line-height: 1.12;
}

h1 em {
  display: inline-block;
  margin-top: 3px;
  padding-right: 6px;
  font-family: var(--serif);
  font-size: 1.15em;
  font-style: italic;
  font-weight: 400;
  letter-spacing: -2.9px;
  line-height: 1.02;
}

.aside-description {
  max-width: 326px;
  margin-top: 24px;
  color: var(--body);
  font-size: 12px;
  line-height: 1.9;
}

.journey-list {
  display: flex;
  flex-direction: column;
  gap: 28px;
  margin-top: 36px;
  padding: 0;
  list-style: none;
}

.journey-list li {
  position: relative;
  display: flex;
  align-items: flex-start;
  gap: 15px;
  min-height: 43px;
}

.journey-list li:not(:last-child)::after {
  position: absolute;
  top: 39px;
  bottom: -22px;
  left: 18px;
  width: 1px;
  background: #dce3d7;
  content: "";
}

.journey-number {
  position: relative;
  z-index: 1;
  display: grid;
  width: 37px;
  height: 37px;
  flex: 0 0 auto;
  place-items: center;
  border: 1px solid #dfe4da;
  border-radius: 50%;
  background: var(--page);
  color: #8b9387;
  font-size: 11px;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  transition: background 200ms ease, color 200ms ease, border-color 200ms ease;
}

.journey-number .icon {
  display: none;
  width: 16px;
  height: 16px;
}

.journey-list strong {
  display: block;
  margin-top: 0;
  color: #8a9388;
  font-size: 11px;
  font-weight: 600;
  line-height: 1.7;
  transition: color 200ms ease;
}

.journey-list p {
  margin-top: 2px;
  color: #979e93;
  font-size: 11px;
  line-height: 1.8;
}

.journey-list .is-active .journey-number {
  border-color: var(--forest);
  background: var(--forest);
  color: var(--lime);
  box-shadow: 0 0 0 4px #e8eddf;
}

.journey-list .is-active strong,
.journey-list .is-complete strong {
  color: var(--forest);
}

.journey-list .is-active p {
  color: #71806c;
}

.journey-list .is-complete .journey-number {
  border-color: #cddfb0;
  background: #e5efcf;
  color: var(--forest);
}

.journey-list .is-complete .journey-number > span {
  display: none;
}

.journey-list .is-complete .journey-number .icon {
  display: block;
}

.journey-list .is-complete::after {
  background: #bdd29e !important;
}

.assurance-card {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  max-width: 372px;
  min-height: 203px;
  margin-top: 35px;
  padding: 24px 25px;
  border: 1px solid #244b40;
  border-radius: 17px;
  background: var(--forest);
  color: #f4f6ed;
}

.assurance-tag {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: #c5dcaf;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 1.25px;
}

.assurance-tag > span {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--lime);
}

.assurance-card h2 {
  position: relative;
  margin-top: 21px;
  font-size: 22px;
  font-weight: 500;
  letter-spacing: -0.7px;
  line-height: 1.4;
}

.assurance-card p {
  position: relative;
  margin-top: 13px;
  color: #a7c1af;
  font-size: 11px;
  line-height: 1.8;
}

.assurance-art {
  position: absolute;
  z-index: -1;
  inset: 0;
  pointer-events: none;
}

.assurance-art > span {
  position: absolute;
  right: -122px;
  top: -68px;
  width: 290px;
  height: 290px;
  border: 1px solid #45684b;
  border-radius: 50%;
  opacity: 0.55;
}

.assurance-art > span:nth-child(2) {
  right: -96px;
  top: -42px;
  width: 238px;
  height: 238px;
}

.assurance-art > span:nth-child(3) {
  right: -70px;
  top: -16px;
  width: 186px;
  height: 186px;
}

.assurance-art > svg {
  position: absolute;
  top: 24px;
  right: -15px;
  width: 150px;
  height: 150px;
  color: #badd89;
  opacity: 0.14;
  transform: rotate(-12deg);
}

.assurance-symbol {
  position: absolute;
  right: 25px;
  bottom: 22px;
  color: var(--lime);
  font-size: 24px;
  font-weight: 300;
  line-height: 1;
}

.help-details {
  max-width: 372px;
  margin-top: 20px;
}

.help-details summary {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 32px;
  border-radius: 4px;
  color: #75816f;
  font-size: 11px;
  font-weight: 500;
  list-style: none;
  cursor: pointer;
}

.help-details summary::-webkit-details-marker {
  display: none;
}

.help-details summary > .icon {
  width: 14px;
  height: 14px;
}

.help-details summary > span {
  margin-left: auto;
  margin-right: 2px;
  font-size: 16px;
  font-weight: 400;
  transition: transform 160ms ease;
}

.help-details[open] summary > span {
  transform: rotate(45deg);
}

.help-details > p {
  padding: 6px 3px 0 22px;
  color: #7b8576;
  font-size: 11px;
  line-height: 1.9;
}

.checkout-card {
  overflow: hidden;
  min-width: 0;
  border: 1px solid #e5e8df;
  border-radius: 22px;
  background: var(--surface);
  box-shadow: 0 8px 30px -18px #1c382326, 0 2px 5px -3px #1c382308;
}

.card-progress {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
  padding: 25px 34px 22px;
}

.card-progress > span:first-child {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #51614f;
  font-size: 11px;
  font-weight: 650;
  letter-spacing: 1.15px;
}

.live-dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #8caa62;
  box-shadow: 0 0 0 3px #f0f5e7;
}

.step-counter {
  font-size: 11px;
  font-weight: 650;
  font-variant-numeric: tabular-nums;
  line-height: 1.2;
}

.step-counter > span {
  margin-left: 5px;
  color: #a1a99a;
  font-size: 11px;
  font-weight: 400;
}

.progress-track {
  height: 2px;
  background: #edf0e8;
}

.progress-track > span {
  display: block;
  width: 33.3333%;
  height: 100%;
  background: #a6c87b;
  transition: width 400ms cubic-bezier(0.2, 0.7, 0.3, 1);
}

body[data-step="1"] .progress-track > span {
  width: 66.6667%;
}

body[data-step="2"] .progress-track > span,
body[data-step="3"] .progress-track > span {
  width: 100%;
}

body[data-step="3"] .progress-track > span {
  background: var(--forest);
}

.step-view {
  padding: 30px 34px 25px;
  animation: view-enter 260ms ease both;
}

.card-heading {
  margin-bottom: 28px;
}

.card-kicker {
  margin-bottom: 10px;
  color: #98a18e;
  font-size: 11px;
  font-weight: 650;
  letter-spacing: 1.3px;
  line-height: 1.5;
}

.card-heading h2 {
  width: fit-content;
  max-width: 100%;
  border-radius: 3px;
  color: var(--forest);
  font-size: 27px;
  font-weight: 600;
  letter-spacing: -1.2px;
  line-height: 1.35;
}

.card-heading > p:last-child:not(.card-kicker) {
  margin-top: 9px;
  color: #727c70;
  font-size: 11px;
  line-height: 1.8;
}

.field {
  min-width: 0;
  margin-bottom: 17px;
}

.field-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 16px;
}

.field label {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 7px;
  color: #3e4f40;
  font-size: 11px;
  font-weight: 600;
  line-height: 1.5;
}

.field label > span {
  color: #969d90;
  font-size: 11px;
  font-weight: 400;
}

.input-wrap {
  display: flex;
  align-items: center;
  gap: 11px;
  min-height: 48px;
  border: 1px solid #e5e9df;
  border-radius: 9px;
  background: #fdfefb;
  transition: border-color 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

.input-wrap > .icon {
  width: 16px;
  height: 16px;
  margin-left: 14px;
  color: #9ba58f;
  stroke-width: 1.45;
}

.input-wrap input {
  width: 100%;
  height: 46px;
  min-height: 46px;
  padding: 0 12px 0 0;
  border: 0;
  border-radius: inherit;
  outline: 0;
  background: transparent;
  color: var(--ink);
  font-size: 11px;
  font-weight: 450;
  line-height: normal;
  box-shadow: none;
}

.input-wrap input::placeholder {
  opacity: 1;
  color: #727c70;
  font-weight: 400;
}

.phone-input-wrap {
  gap: 10px;
}

.phone-input-wrap .phone-country-prefix {
  flex: 0 0 auto;
  margin-left: 14px;
  padding-right: 10px;
  border-right: 1px solid #e5e9df;
  color: var(--ink);
  font-size: 11px;
  font-weight: 600;
  white-space: nowrap;
}

.phone-input-wrap input {
  flex: 1;
  width: 0;
  min-width: 0;
}

.phone-input-hint {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

.input-wrap:hover {
  border-color: #cfd9c4;
}

.input-wrap:focus-within {
  border-color: #6b8d5b;
  background: #fff;
  box-shadow: 0 0 0 3px #91b67524;
}

.input-wrap:focus-within > .icon {
  color: #688358;
}

.input-wrap input[type="date"] {
  min-width: 0;
  -webkit-appearance: none;
  appearance: none;
}

.input-wrap input[type="date"]::-webkit-date-and-time-value {
  text-align: left;
}

.input-wrap input[type="date"]::-webkit-calendar-picker-indicator {
  width: 14px;
  height: 14px;
  margin: 0;
  padding: 0;
  opacity: 0.45;
  cursor: pointer;
}

.input-wrap input:-webkit-autofill {
  -webkit-text-fill-color: var(--ink);
  box-shadow: 0 0 0 1000px #f6f9ee inset;
}

.amount-field {
  margin-top: 3px;
  margin-bottom: 19px;
}

.amount-wrap {
  gap: 12px;
  min-height: 59px;
  background: #f7f9f3;
}

.currency-symbol {
  margin-left: 17px;
  color: #6c795f;
  font-size: 21px;
  font-weight: 400;
}

.amount-wrap input {
  height: 57px;
  padding: 0;
  font-size: 23px;
  font-weight: 500;
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.5px;
}

.amount-wrap input::placeholder {
  color: #727c70;
}

.currency-code {
  margin-right: 17px;
  padding: 4px 6px;
  border: 1px solid #e5e9dc;
  border-radius: 5px;
  background: #fff;
  color: #7b866f;
  font-size: 11px;
  font-weight: 600;
  line-height: 1.2;
}

.field-error {
  display: block;
  margin-top: 6px;
  color: var(--error);
  font-size: 11px;
  line-height: 1.65;
}

.field-error:empty {
  display: none;
}

.field.is-invalid .input-wrap,
.field.has-error .input-wrap,
.input-wrap:has(input[aria-invalid="true"]) {
  border-color: #d4a198;
  background: #fffaf8;
}

.field.is-invalid .input-wrap:focus-within,
.field.has-error .input-wrap:focus-within,
.input-wrap:has(input[aria-invalid="true"]):focus-within {
  border-color: var(--error);
  box-shadow: 0 0 0 3px #a33f3615;
}

.form-errors {
  margin-bottom: 20px;
  padding: 13px 15px;
  border: 1px solid #ecd4cd;
  border-radius: 8px;
  background: var(--error-bg);
  color: var(--error);
  font-size: 11px;
  line-height: 1.8;
}

.form-errors ul {
  margin: 5px 0 0;
  padding-left: 18px;
}

.form-errors a {
  border-radius: 2px;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.form-privacy,
.receipt-privacy-note {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  color: #727c70;
  font-size: 11px;
  line-height: 1.7;
}

.form-privacy {
  margin: 0 0 18px;
}

.form-privacy .icon,
.receipt-privacy-note .icon {
  width: 11px;
  height: 11px;
  color: #8f9e7d;
}

.button {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  width: 100%;
  min-height: 51px;
  padding: 13px 20px;
  border: 1px solid transparent;
  border-radius: 9px;
  font-size: 11px;
  font-weight: 600;
  line-height: 1.6;
  transition: background 160ms ease, color 160ms ease, border-color 160ms ease, transform 160ms ease;
}

.button .icon {
  width: 17px;
  height: 17px;
}

.button-primary {
  background: var(--forest);
  color: #edf5df;
}

.button-primary .icon {
  color: var(--lime);
  transition: transform 160ms ease;
}

.button-primary:hover:not(:disabled) {
  background: var(--forest-hover);
}

.button-primary:hover:not(:disabled) .icon {
  transform: translateX(3px);
}

.button-primary:active:not(:disabled) {
  transform: translateY(1px);
}

.button-primary:disabled {
  background: #e7ece1;
  color: #a0aa96;
}

.button-primary:disabled .icon {
  color: #a4af98;
}

.form-footnote {
  margin-top: 13px;
  color: #727c70;
  font-size: 11px;
  line-height: 1.7;
  text-align: center;
}

.card-signature {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 17px 34px;
  border-top: 1px solid #eff1ea;
  background: #fdfefb;
  color: #727c70;
  font-size: 11px;
  line-height: 1.6;
}

.card-signature > .icon {
  width: 13px;
  height: 13px;
  color: #9aab85;
}

.signature-brand {
  margin-left: auto;
  color: #9aa28f;
  font-size: 11px;
  font-weight: 650;
  letter-spacing: -0.4px;
}

.inline-notice {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  margin-bottom: 21px;
  padding: 11px 13px;
  border: 1px solid #e7e9d7;
  border-radius: 8px;
  background: #f8f9ee;
  color: #7c8161;
  font-size: 11px;
  line-height: 1.7;
}

.inline-notice .icon {
  width: 14px;
  height: 14px;
  margin-top: 1px;
}

.bank-availability-notice {
  border-color: #efd3a9;
  background: #fff7e9;
  color: #754616;
  font-size: 12px;
}

.payment-summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 21px 22px;
  border: 1px solid #e5ecd9;
  border-radius: 12px;
  background: #f4f7ed;
}

.payment-summary > div > span {
  display: block;
  color: #8b957e;
  font-size: 11px;
}

.payment-summary strong {
  display: block;
  margin-top: 3px;
  color: var(--forest);
  font-size: 29px;
  font-weight: 550;
  font-variant-numeric: tabular-nums;
  letter-spacing: -1px;
  line-height: 1.4;
  overflow-wrap: anywhere;
}

.method-tag {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  flex: 0 0 auto;
  padding: 6px 9px;
  border: 1px solid #dfe8d1;
  border-radius: 6px;
  color: #6e815d;
  font-size: 11px;
  line-height: 1.5;
}

.method-tag .icon {
  width: 12px;
  height: 12px;
}

.bank-details {
  margin-top: 19px;
  padding: 0 2px;
}

.bank-details > div {
  display: grid;
  grid-template-columns: 112px minmax(0, 1fr);
  align-items: baseline;
  gap: 14px;
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
}

.bank-details dt {
  color: #929b89;
  font-size: 11px;
}

.bank-details dd {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  color: #3f5142;
  font-size: 11px;
  font-weight: 550;
  overflow-wrap: anywhere;
}

.small-tag {
  display: inline-block;
  padding: 2px 5px;
  border: 1px solid #e2e8d7;
  border-radius: 4px;
  color: #8a9c74;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.5px;
}

.bank-details .iban-row dd {
  display: block;
}

.iban-value {
  font-size: 11px;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.25px;
  line-height: 1.8;
}

.bank-field-note {
  display: block;
  margin-top: 4px;
  color: #a0a98f;
  font-size: 11px;
  font-weight: 400;
}

.icon-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  flex: 0 0 auto;
  padding: 0;
  border: 1px solid #e6ebde;
  border-radius: 7px;
  background: #f8faf4;
  color: #81946c;
  transition: background 150ms ease, color 150ms ease, border-color 150ms ease;
}

.icon-button .icon {
  width: 15px;
  height: 15px;
}

.icon-button:hover {
  border-color: #c3d4ac;
  background: #eef4e4;
  color: var(--forest);
}

#copy-reference {
  margin-left: auto;
}

.transfer-guidance {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin: 22px 0;
  padding: 0 2px;
  color: #8d9783;
}

.transfer-guidance > .icon {
  width: 15px;
  height: 15px;
  margin-top: 2px;
  color: #99aa84;
}

.transfer-guidance p {
  font-size: 11px;
  line-height: 1.9;
}

.transfer-guidance strong {
  color: #637357;
  font-weight: 600;
}

.button-text {
  min-height: 43px;
  margin-top: 8px;
  background: transparent;
  color: #89957c;
  font-size: 11px;
  font-weight: 500;
}

.button-text .icon {
  width: 14px;
  height: 14px;
}

.button-text:hover {
  background: #f6f8f1;
  color: var(--forest);
}

.compact-summary {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 20px;
  margin-bottom: 26px;
  padding: 18px 20px;
  border: 1px solid #e7ecdf;
  border-radius: 10px;
  background: #f7f9f2;
}

.compact-summary > span {
  color: #919c84;
  font-size: 11px;
}

.compact-summary > span + span {
  padding-left: 20px;
  border-left: 1px solid #e1e8d7;
}

.compact-summary strong {
  display: block;
  margin-top: 5px;
  color: #53674a;
  font-size: 12px;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  overflow-wrap: anywhere;
}

.upload-zone {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 223px;
  padding: 28px 20px;
  border: 1px dashed #bfcea9;
  border-radius: 12px;
  background: #fbfcf7;
  text-align: center;
  transition: border-color 160ms ease, background 160ms ease, box-shadow 160ms ease;
}

.upload-zone:hover,
.upload-zone.is-dragging,
.upload-zone.is-dragover,
.upload-zone.drag-over {
  border-color: #769959;
  background: #f1f7e7;
}

.upload-zone:focus-within {
  outline: 3px solid #649c64;
  outline-offset: 4px;
}

.upload-zone:has(input[aria-invalid="true"]) {
  border-color: #cf978c;
  background: var(--error-bg);
}

.upload-input {
  position: absolute;
  z-index: 2;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  cursor: pointer;
}

.upload-icon {
  display: grid;
  width: 48px;
  height: 48px;
  margin-bottom: 18px;
  place-items: center;
  border: 1px solid #e1e9d5;
  border-radius: 14px;
  background: #f0f5e6;
  color: #7a965f;
}

.upload-icon .icon {
  width: 22px;
  height: 22px;
}

.upload-zone > strong {
  color: #526748;
  font-size: 12px;
  font-weight: 600;
}

.upload-zone > p {
  margin-top: 5px;
  color: #9ba58d;
  font-size: 11px;
}

.upload-zone > p > span {
  color: #7d9565;
  text-decoration: underline;
  text-decoration-color: #bfcea9;
  text-underline-offset: 3px;
}

.upload-zone > small {
  margin-top: 16px;
  color: #a1aa94;
  font-size: 11px;
}

.selected-file {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 14px;
  padding: 13px;
  border: 1px solid #dce7cf;
  border-radius: 10px;
  background: #f8fbf3;
}

.file-icon {
  display: grid;
  width: 36px;
  height: 40px;
  flex: 0 0 auto;
  place-items: center;
  border-radius: 7px;
  background: #eaf2dc;
  color: #7c9665;
}

.selected-file > div {
  min-width: 0;
}

.selected-file strong {
  display: block;
  overflow: hidden;
  max-width: 100%;
  color: #607451;
  font-size: 11px;
  font-weight: 600;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.selected-file > div > span {
  display: block;
  margin-top: 3px;
  color: #9ba58d;
  font-size: 11px;
}

.selected-file > button {
  margin-left: auto;
}

.receipt-error {
  margin-top: 11px;
}

.receipt-privacy-note {
  margin: 19px 0 24px;
  text-align: center;
}

.back-link {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  width: fit-content;
  min-height: 32px;
  margin: 18px auto 0;
  padding: 0 4px;
  border-radius: 4px;
  background: transparent;
  color: #a1ab95;
  font-size: 11px;
}

.back-link .icon {
  width: 13px;
  height: 13px;
}

.back-link:hover {
  color: var(--forest);
}

.completion-view {
  padding-top: 42px;
  padding-bottom: 32px;
  text-align: center;
}

.completion-mark {
  position: relative;
  display: grid;
  width: 89px;
  height: 89px;
  margin: 0 auto 27px;
  place-items: center;
  border: 1px solid #dce8ca;
  border-radius: 50%;
  background: #eff5e4;
  color: #769354;
}

.completion-mark > .icon {
  width: 34px;
  height: 34px;
  stroke-width: 1.35;
}

.completion-mark > span {
  position: absolute;
  top: 9px;
  right: -5px;
  width: 12px;
  height: 12px;
  border: 3px solid #fff;
  border-radius: 50%;
  background: #c5dd9a;
}

.completion-mark > span:last-child {
  top: auto;
  right: auto;
  bottom: 9px;
  left: -6px;
  width: 9px;
  height: 9px;
  background: #e1ebd1;
}

.status-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 10px;
  border: 1px solid #e3e8d7;
  border-radius: 20px;
  background: #f8faef;
  color: #8a956f;
  font-size: 11px;
}

.status-chip::before {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: #b4c189;
  content: "";
}

.completion-view .card-heading {
  margin: 17px auto 27px;
}

.completion-view .card-heading h2 {
  margin-inline: auto;
  font-size: 26px;
}

.completion-view .card-heading p {
  max-width: 340px;
  margin-inline: auto;
  line-height: 1.9;
}

.review-details {
  padding: 8px 19px;
  border: 1px solid #e5ebdc;
  border-radius: 11px;
  background: #f9fbf5;
  text-align: left;
}

.review-details > div {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.3fr);
  gap: 14px;
  padding: 12px 0;
  border-bottom: 1px solid #e7eddf;
}

.review-details > div:last-child {
  border-bottom: 0;
}

.review-details dt {
  color: #929d86;
  font-size: 11px;
}

.review-details dd {
  color: #5d7151;
  font-size: 11px;
  font-weight: 550;
  overflow-wrap: anywhere;
  text-align: right;
}

.completion-note {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  margin: 21px 2px 24px;
  color: #a0a98f;
  text-align: left;
}

.completion-note .icon {
  width: 14px;
  height: 14px;
  margin-top: 2px;
}

.completion-note p {
  font-size: 11px;
  line-height: 1.85;
}

.page-footer {
  display: flex;
  align-items: center;
  gap: 24px;
  min-height: 113px;
  padding-block: 28px;
  color: #727c70;
  font-size: 11px;
}

.page-footer > span:nth-child(2) {
  padding-left: 24px;
  border-left: 1px solid #dde4d3;
}

.footer-country {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-left: auto;
}

.footer-country > span {
  color: #c4ccbb;
}

.toast {
  position: fixed;
  z-index: 20;
  bottom: 28px;
  left: 50%;
  display: flex;
  align-items: center;
  gap: 10px;
  width: max-content;
  max-width: calc(100% - 40px);
  padding: 14px 18px;
  border: 1px solid #375a43;
  border-radius: 12px;
  background: var(--forest);
  color: #eff6e4;
  font-size: 11px;
  line-height: 1.6;
  box-shadow: 0 8px 32px #183e3526;
  transform: translateX(-50%);
  animation: toast-enter 200ms ease both;
}

.toast .icon {
  width: 17px;
  height: 17px;
  color: var(--lime);
}

@keyframes view-enter {
  from {
    opacity: 0;
    transform: translateY(5px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes toast-enter {
  from {
    opacity: 0;
    transform: translate(-50%, 6px);
  }
  to {
    opacity: 1;
    transform: translate(-50%, 0);
  }
}

@media (min-width: 1440px) {
  .checkout-layout {
    margin-top: 15px;
  }
  .site-header {
    height: 132px;
  }
}

@media (max-width: 1100px) {
  .container,
  .preview-bar-inner {
    width: calc(100% - 64px);
  }
  .checkout-layout {
    grid-template-columns: minmax(0, 0.72fr) minmax(0, 1fr);
    gap: 36px;
  }
  h1 {
    font-size: 54px;
    letter-spacing: -3px;
  }
  .card-progress,
  .card-signature {
    padding-inline: 27px;
  }
  .step-view {
    padding-inline: 27px;
  }
  .card-heading h2 {
    font-size: 24px;
  }
  .field-grid {
    gap: 12px;
  }
  .input-wrap {
    gap: 8px;
  }
  .input-wrap > .icon {
    margin-left: 12px;
  }
  .bank-details > div {
    grid-template-columns: 95px minmax(0, 1fr);
    gap: 10px;
  }
  .iban-value {
    font-size: 11px;
  }
}

@media (max-width: 900px) and (min-width: 761px) {
  .checkout-layout {
    grid-template-columns: minmax(0, 0.63fr) minmax(0, 1fr);
    gap: 28px;
  }
  h1 {
    font-size: 46px;
    letter-spacing: -2.5px;
  }
  h1 em {
    letter-spacing: -2px;
  }
  .aside-description {
    font-size: 11px;
  }
  .journey-list li {
    gap: 10px;
  }
  .journey-list p {
    font-size: 11px;
  }
  .assurance-card {
    padding: 20px;
  }
  .assurance-card h2 {
    font-size: 19px;
  }
  .assurance-art {
    opacity: 0.6;
  }
  .card-progress,
  .card-signature {
    padding-inline: 22px;
  }
  .step-view {
    padding-inline: 22px;
  }
  .field-grid {
    gap: 10px;
  }
  .field-grid .input-wrap {
    gap: 6px;
  }
  .field-grid .input-wrap > .icon {
    width: 14px;
    height: 14px;
    margin-left: 10px;
  }
  .input-wrap input {
    font-size: 11px;
  }
  .amount-wrap input {
    font-size: 23px;
  }
  .card-heading h2 {
    font-size: 22px;
  }
  .bank-details > div {
    grid-template-columns: 86px minmax(0, 1fr);
  }
}

@media (max-width: 760px) {
  .container,
  .preview-bar-inner {
    width: min(560px, calc(100% - 48px));
  }
  .preview-bar-inner {
    min-height: 37px;
    gap: 12px;
  }
  .preview-bar p {
    gap: 7px;
    font-size: 11px;
  }
  .preview-explanation {
    display: none;
  }
  #fill-demo {
    gap: 7px;
    font-size: 11px;
  }
  .site-header {
    height: 96px;
  }
  .brand-mark {
    width: 32px;
    height: 32px;
  }
  .brand-wordmark {
    font-size: 23px;
  }
  .header-meta {
    gap: 15px;
  }
  .payment-method {
    font-size: 11px;
  }
  .locale {
    gap: 7px;
    padding-left: 15px;
    font-size: 11px;
  }
  .checkout-layout {
    display: flex;
    flex-direction: column;
    gap: 27px;
    margin-top: 9px;
  }
  .checkout-aside,
  .checkout-card {
    width: 100%;
  }
  .checkout-aside {
    padding-top: 0;
  }
  .aside-intro {
    max-width: none;
  }
  .eyebrow {
    margin-bottom: 17px;
    font-size: 11px;
  }
  h1 {
    font-size: 51px;
    letter-spacing: -2.8px;
    line-height: 1.12;
  }
  h1 br {
    display: none;
  }
  h1 em {
    margin-left: 4px;
    font-size: 1.12em;
    letter-spacing: -2px;
  }
  .aside-description {
    max-width: 390px;
    margin-top: 14px;
    font-size: 11px;
    line-height: 1.8;
  }
  .journey-list {
    flex-direction: row;
    gap: 10px;
    margin-top: 27px;
    padding-top: 23px;
    border-top: 1px solid #e2e7db;
  }
  .journey-list li {
    flex: 1;
    align-items: center;
    min-width: 0;
    min-height: 32px;
    gap: 8px;
  }
  .journey-list li:not(:last-child)::after {
    display: none;
  }
  .journey-number {
    width: 29px;
    height: 29px;
    font-size: 11px;
  }
  .journey-number .icon {
    width: 13px;
    height: 13px;
  }
  .journey-list strong {
    font-size: 11px;
    font-weight: 600;
    line-height: 1.6;
  }
  .journey-list p {
    display: none;
  }
  .assurance-card,
  .help-details {
    display: none;
  }
  .checkout-card {
    border-radius: 18px;
  }
  .card-progress {
    padding: 23px 27px 21px;
  }
  .step-view {
    padding: 28px 27px 25px;
  }
  .card-heading h2 {
    font-size: 25px;
    letter-spacing: -1px;
  }
  .card-heading {
    margin-bottom: 25px;
  }
  .field {
    margin-bottom: 19px;
  }
  .field-grid {
    gap: 14px;
  }
  .field label {
    font-size: 11px;
  }
  .input-wrap {
    min-height: 51px;
    gap: 9px;
  }
  .input-wrap input {
    height: 49px;
    min-height: 49px;
    font-size: 12px;
  }
  .input-wrap > .icon {
    margin-left: 13px;
  }
  .amount-wrap {
    min-height: 61px;
  }
  .amount-wrap input {
    height: 59px;
    font-size: 24px;
  }
  .amount-field {
    margin-top: 2px;
    margin-bottom: 20px;
  }
  .form-privacy {
    margin-bottom: 18px;
    font-size: 11px;
  }
  .card-signature {
    padding: 17px 27px;
  }
  .button {
    min-height: 53px;
  }
  .button-text {
    min-height: 44px;
  }
  .page-footer {
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 8px 18px;
    min-height: 103px;
    padding-block: 26px;
    font-size: 11px;
  }
  .page-footer > span:nth-child(2) {
    display: none;
  }
  .completion-view {
    padding-top: 36px;
    padding-bottom: 29px;
  }
  .completion-view .card-heading h2 {
    font-size: 24px;
  }
  .toast {
    bottom: 20px;
    max-width: calc(100% - 32px);
    font-size: 11px;
  }
}

@media (max-width: 480px) {
  .container,
  .preview-bar-inner {
    width: calc(100% - 40px);
  }
  .site-header {
    height: 87px;
  }
  .header-meta .payment-method {
    display: none;
  }
  .locale {
    padding-left: 0;
    border-left: 0;
  }
  .checkout-layout {
    gap: 23px;
    margin-top: 9px;
  }
  h1 {
    font-size: 47px;
    letter-spacing: -2.5px;
  }
  h1 br {
    display: block;
  }
  h1 em {
    margin-top: 0;
    margin-left: 0;
    font-size: 1.13em;
  }
  .aside-description {
    max-width: 285px;
    margin-top: 15px;
    font-size: 11px;
  }
  .journey-list {
    gap: 8px;
    margin-top: 24px;
    padding-top: 21px;
  }
  .journey-list li {
    gap: 7px;
  }
  .journey-list strong {
    max-width: 76px;
    font-size: 11px;
    line-height: 1.5;
  }
  .journey-number {
    width: 27px;
    height: 27px;
    font-size: 11px;
  }
  .journey-list .is-active .journey-number {
    box-shadow: 0 0 0 3px #e8eddf;
  }
  .card-progress {
    padding: 20px 21px 19px;
  }
  .card-progress > span:first-child {
    font-size: 11px;
    letter-spacing: 0.9px;
  }
  .step-view {
    padding: 25px 21px 23px;
  }
  .card-heading {
    margin-bottom: 24px;
  }
  .card-kicker {
    margin-bottom: 10px;
    font-size: 11px;
  }
  .card-heading h2 {
    font-size: 23px;
    letter-spacing: -1px;
  }
  .card-heading > p:last-child:not(.card-kicker) {
    margin-top: 8px;
    font-size: 11px;
  }
  .field-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 0;
  }
  .field label {
    margin-bottom: 7px;
    font-size: 11px;
  }
  .input-wrap input {
    font-size: 16px;
    letter-spacing: -0.4px;
  }
  .input-wrap input::placeholder {
    font-size: 12px;
    letter-spacing: 0;
  }
  .input-wrap input[type="date"] {
    font-size: 14px;
  }
  .amount-wrap input {
    font-size: 25px;
  }
  .amount-wrap input::placeholder {
    font-size: 25px;
    letter-spacing: -0.5px;
  }
  .form-privacy,
  .receipt-privacy-note {
    gap: 5px;
    font-size: 11px;
  }
  .button {
    gap: 9px;
    padding-inline: 12px;
    font-size: 11px;
  }
  .button-text {
    font-size: 11px;
  }
  .card-signature {
    padding: 15px 21px;
    font-size: 11px;
  }
  .signature-brand {
    font-size: 11px;
  }
  .inline-notice {
    padding: 10px;
    font-size: 11px;
  }
  .payment-summary {
    gap: 9px;
    padding: 18px 16px;
  }
  .payment-summary > div > span {
    font-size: 11px;
  }
  .payment-summary strong {
    font-size: 27px;
  }
  .method-tag {
    gap: 4px;
    padding: 5px 6px;
    font-size: 11px;
  }
  .bank-details > div {
    grid-template-columns: 81px minmax(0, 1fr);
    gap: 10px;
    padding: 15px 0;
  }
  .bank-details dt {
    font-size: 11px;
  }
  .bank-details dd {
    gap: 6px;
    font-size: 11px;
  }
  .iban-value {
    font-size: 11px;
    letter-spacing: 0;
    line-height: 1.9;
  }
  #copy-reference {
    width: 28px;
    height: 30px;
  }
  .transfer-guidance {
    gap: 8px;
    margin: 19px 0;
  }
  .transfer-guidance p {
    font-size: 11px;
  }
  .compact-summary {
    gap: 12px;
    padding: 16px 13px;
  }
  .compact-summary > span {
    font-size: 11px;
  }
  .compact-summary > span + span {
    padding-left: 12px;
  }
  .compact-summary strong {
    font-size: 11px;
  }
  .upload-zone {
    min-height: 211px;
    padding-inline: 13px;
  }
  .upload-zone > strong {
    font-size: 11px;
  }
  .upload-zone > p {
    font-size: 11px;
  }
  .receipt-privacy-note {
    margin-bottom: 21px;
  }
  .completion-view {
    padding-top: 35px;
    padding-bottom: 26px;
  }
  .completion-view .card-heading h2 {
    font-size: 23px;
  }
  .review-details {
    padding-inline: 13px;
  }
  .review-details dt,
  .review-details dd {
    font-size: 11px;
  }
  .completion-note p {
    font-size: 11px;
  }
}

@media (max-width: 359px) {
  .container,
  .preview-bar-inner {
    width: calc(100% - 32px);
  }
  .preview-bar p,
  #fill-demo {
    font-size: 11px;
  }
  h1 {
    font-size: 43px;
  }
  .journey-list {
    gap: 5px;
  }
  .journey-list li {
    gap: 5px;
  }
  .journey-list strong {
    font-size: 11px;
  }
  .step-view,
  .card-progress,
  .card-signature {
    padding-inline: 18px;
  }
  .card-heading h2,
  .completion-view .card-heading h2 {
    font-size: 21px;
  }
}

/* Keep payment details comfortably readable at every viewport. */
.field label {
  font-size: 12px;
}

.input-wrap:not(.amount-wrap) input {
  font-size: 14px;
}

.button {
  font-size: 13px;
}

.aside-description {
  font-size: 13px;
}

.journey-list li > div {
  min-width: 0;
}

.journey-list strong {
  font-size: 12px;
}

.card-heading > p:last-child:not(.card-kicker),
.field label > span,
.form-footnote,
.form-privacy,
.receipt-privacy-note,
.card-signature,
.page-footer {
  color: #727c70;
}

.input-wrap input::placeholder {
  color: #727c70;
  font-size: 14px;
}

.amount-wrap input::placeholder {
  font-size: 23px;
}

@media (max-width: 760px) {
  .journey-list li {
    flex-direction: column;
    align-items: flex-start;
    gap: 9px;
  }
  .journey-list strong {
    max-width: none;
    font-size: 11px;
    line-height: 1.5;
  }
  .journey-list li > div {
    width: 100%;
  }
  .input-wrap:not(.amount-wrap) input {
    font-size: 16px;
  }
  .input-wrap input::placeholder {
    font-size: 14px;
  }
  .amount-wrap input::placeholder {
    font-size: 25px;
  }
  .field label {
    font-size: 12px;
  }
  .button {
    font-size: 13px;
  }
  .button-text {
    font-size: 12px;
  }
  .form-privacy,
  .receipt-privacy-note {
    align-items: flex-start;
    text-align: left;
  }
  .form-privacy .icon,
  .receipt-privacy-note .icon {
    margin-top: 3px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}


/* Provider failures are separate from the three-step payment journey. */
.payment-error-view { padding: 48px 34px 32px; text-align: center; }
.payment-error-icon { display: grid; place-items: center; width: 70px; height: 70px; margin: 0 auto 25px; border: 1px solid #eddbcd; border-radius: 21px; background: #fff6ef; color: #a2704e; }
.payment-error-icon .icon { width: 31px; height: 31px; stroke-width: 1.5; }
.payment-error-kicker { margin-bottom: 12px; color: #91694b; font-size: 10px; font-weight: 650; letter-spacing: 1.3px; line-height: 1.7; }
.payment-error-view h2 { color: var(--forest); font-size: 30px; font-weight: 550; letter-spacing: -1px; line-height: 1.3; }
.payment-error-description { max-width: 370px; margin: 17px auto 0; color: #5e6d60; font-size: 14px; line-height: 1.85; }
.payment-error-guidance { max-width: 380px; margin: 15px auto 25px; color: #6d796a; font-size: 12px; line-height: 1.9; }
.payment-error-reference { margin: 0 0 25px; padding: 15px 18px; border: 1px solid #e6ebdf; border-radius: 10px; background: #f9fbf5; text-align: left; }
.payment-error-reference dt { margin-bottom: 6px; color: #7c8875; font-size: 10px; }
.payment-error-reference dd { color: #4a6350; font: 11px/1.8 ui-monospace, SFMono-Regular, Consolas, monospace; overflow-wrap: anywhere; }
.payment-error-footnote { margin-top: 13px; color: #798673; font-size: 10px; line-height: 1.8; }
@media (max-width: 760px) {
  .payment-error-view { padding: 36px 24px 27px; }
  .payment-error-view h2 { font-size: 27px; }
  .payment-error-description { font-size: 13px; }
}
@media (max-width: 380px) {
  .payment-error-view { padding-inline: 21px; }
  .payment-error-view h2 { font-size: 25px; }
}
