@font-face {
  font-family: Manrope;
  src: url("/assets/fonts/manrope.ttf") format("truetype");
  font-style: normal;
  font-weight: 200 800;
  font-display: swap;
}

:root {
  color-scheme: light;
  font-family: Manrope, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: #241a21;
  background: #faf9fa;
  font-synthesis: none;
  text-rendering: optimizeLegibility;
  --ink: #241a21;
  --muted: #746b71;
  --line: #e8e1e5;
  --paper: #fff;
  --ruby: #b51b50;
  --ruby-dark: #8d123b;
  --success: #246c4e;
  --error: #a4313c;
}

* { box-sizing: border-box; }

html, body { min-width: 320px; min-height: 100%; margin: 0; }

body {
  min-height: 100vh;
  min-height: 100svh;
  display: grid;
  place-items: center;
  padding: 36px 24px;
}

.checkout-shell {
  width: min(100%, 760px);
  min-height: min(640px, calc(100svh - 72px));
  display: flex;
  flex-direction: column;
  padding: clamp(24px, 5vw, 52px);
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 18px 18px 18px 5px;
}

.brand { display: inline-flex; align-items: center; gap: 11px; width: fit-content; }
.brand-mark { width: 30px; height: 30px; display: grid; place-items: center; border: 2px solid var(--ruby); border-radius: 50%; }
.brand-mark span { width: 10px; height: 10px; display: block; background: var(--ruby); transform: rotate(45deg); border-radius: 2px; }
.brand-name { font-size: 15px; font-weight: 800; letter-spacing: -.04em; }

.checkout-content { width: min(100%, 490px); margin: auto 0; padding: 70px 0; }
.eyebrow { margin: 0 0 15px; color: var(--ruby); font-size: 12px; font-weight: 800; letter-spacing: .11em; }
h1 { max-width: 15ch; margin: 0; font-size: clamp(29px, 5vw, 40px); line-height: 1.15; letter-spacing: -.055em; font-weight: 800; }
.description { max-width: 50ch; margin: 16px 0 0; color: var(--muted); font-size: 15px; line-height: 1.7; }
.status-line { display: flex; align-items: flex-start; gap: 11px; margin-top: 32px; color: #51464d; font-size: 14px; line-height: 1.6; }
.status-indicator { flex: 0 0 9px; width: 9px; height: 9px; margin-top: 6px; border-radius: 50%; background: var(--ruby); box-shadow: 0 0 0 4px #f8e9ef; animation: status-pulse 1.8s ease-in-out infinite; }
.status-line[data-state="success"] .status-indicator { background: var(--success); box-shadow: 0 0 0 4px #e6f2ec; animation: none; }
.status-line[data-state="error"] .status-indicator { background: var(--error); box-shadow: 0 0 0 4px #f8e8e9; animation: none; }
.action-button { min-height: 48px; margin-top: 23px; padding: 0 19px; border: 1px solid var(--ruby); border-radius: 8px 8px 8px 3px; background: var(--ruby); color: #fff; font: inherit; font-size: 14px; font-weight: 750; cursor: pointer; }
.action-button:hover { background: var(--ruby-dark); border-color: var(--ruby-dark); }
.action-button:focus-visible, .locale-control button:focus-visible { outline: 3px solid #d686a4; outline-offset: 3px; }
.footnote { max-width: 53ch; margin: 22px 0 0; color: var(--muted); font-size: 12px; line-height: 1.65; }
.page-footer { display: flex; align-items: center; justify-content: space-between; gap: 18px; padding-top: 18px; border-top: 1px solid var(--line); color: #746b71; font-size: 11px; line-height: 1.5; }
.locale-control { display: flex; align-items: center; gap: 4px; flex: 0 0 auto; }
.locale-control button { min-width: 44px; min-height: 44px; padding: 0 7px; border: 1px solid transparent; border-radius: 6px; background: transparent; color: #746b71; font: inherit; font-size: 11px; font-weight: 750; cursor: pointer; }
.locale-control button[aria-pressed="true"] { color: var(--ruby-dark); background: #f9edf1; border-color: #edd1dc; }
[hidden] { display: none !important; }

@keyframes status-pulse { 50% { box-shadow: 0 0 0 7px #f8e9ef; } }

@media (max-width: 540px) {
  body { padding: 14px; }
  .checkout-shell { min-height: calc(100svh - 28px); padding: 23px 21px; border-radius: 14px 14px 14px 4px; }
  .checkout-content { padding: 54px 0; }
  .page-footer { align-items: flex-start; flex-direction: column; gap: 11px; }
}

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

.brand .brand-logo{display:block;width:176px;max-width:100%;height:auto;object-fit:contain}
