/* LastGlam guest amount preview · 20261202a. Standalone; no site-wide styles. */
@font-face {
  font-family: "Jost";
  font-style: normal;
  font-weight: 300 700;
  font-display: swap;
  src: url("/assets/fonts/jost-normal.woff2") format("woff2");
}

@font-face {
  font-family: "Baskervville";
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url("/assets/fonts/baskervville-normal.woff2") format("woff2");
}

:root {
  color-scheme: light;
  --plum: #56283f;
  --plum-dark: #45203a;
  --ink: #30252c;
  --muted: #71616a;
  --rose: #934961;
  --blush: #fcf5f6;
  --line: #e9e1e3;
  --line-strong: #d7c7cd;
  --paper: #ffffff;
  font-family: "Jost", system-ui, sans-serif;
  font-synthesis: none;
  background: var(--paper);
  color: var(--ink);
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
body { margin: 0; min-width: 280px; }
button, input { font: inherit; }
button { -webkit-tap-highlight-color: transparent; }
p, h1 { margin: 0; }

.skip-link {
  position: absolute;
  top: 8px;
  left: 8px;
  z-index: 2;
  padding: 12px 16px;
  background: var(--plum);
  color: var(--paper);
  transform: translateY(-160%);
}
.skip-link:focus { transform: none; }

.guest-page {
  width: 100%;
  max-width: 472px;
  min-height: 100vh;
  min-height: 100svh;
  margin: 0 auto;
  padding: 28px 24px 22px;
  padding-top: max(28px, env(safe-area-inset-top));
  padding-bottom: max(22px, env(safe-area-inset-bottom));
  display: flex;
  flex-direction: column;
}

.guest-header { padding-bottom: 28px; }
.wordmark { display: block; width: 176px; max-width: 100%; height: auto; }
.preview-label {
  margin-top: 20px;
  color: var(--rose);
  font-size: 13px;
  font-weight: 500;
  line-height: 1.5;
}
.preview-label span { padding: 0 5px; }
main { outline: none; }
.eyebrow {
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: .12em;
  font-size: 11px;
  font-weight: 500;
  line-height: 1.6;
  margin-bottom: 9px;
}
h1 {
  color: var(--plum);
  font-size: clamp(25px, 6.8vw, 31px);
  font-weight: 500;
  line-height: 1.23;
  letter-spacing: .045em;
  text-transform: uppercase;
  text-wrap: balance;
}
h1:focus { outline: none; }
.intro {
  margin-top: 12px;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.55;
}

.amount-entry { margin: 28px 0 25px; }
label, .review-caption {
  display: block;
  color: var(--plum);
  font-size: 15px;
  font-weight: 500;
  line-height: 1.5;
}
.currency-label { color: var(--muted); font-weight: 400; }
.amount-box {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 108px;
  margin-top: 10px;
  padding: 12px 20px;
  border: 1px solid var(--line-strong);
  border-radius: 12px;
  background: var(--paper);
}
.amount-box:focus-within { border: 2px solid var(--plum); padding: 11px 19px; }
.amount-box.has-error { border-color: var(--rose); }
.currency-symbol, #amount, .amount-display {
  font-family: "Baskervville", Georgia, serif;
  color: var(--plum);
  font-weight: 400;
  font-variant-numeric: tabular-nums;
}
.currency-symbol { font-size: 37px; line-height: 1; flex-shrink: 0; }
#amount {
  display: block;
  width: 100%;
  min-width: 0;
  padding: 8px 0;
  font-size: clamp(32px, 9vw, 42px);
  line-height: 1.25;
  border: 0;
  border-radius: 0;
  background: transparent;
  outline: none;
  caret-color: var(--plum);
  -webkit-appearance: none;
}
#amount:disabled { opacity: .6; -webkit-text-fill-color: var(--plum); }
.amount-help {
  color: var(--muted);
  margin-top: 11px;
  font-size: 13px;
  line-height: 1.6;
}
.amount-error {
  margin-top: 8px;
  color: var(--rose);
  font-size: 14px;
  line-height: 1.5;
}

.button {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 12px;
  width: 100%;
  min-height: 54px;
  padding: 14px 18px;
  border: 1px solid transparent;
  border-radius: 9px;
  font-size: 16px;
  font-weight: 500;
  line-height: 1.5;
  cursor: pointer;
  touch-action: manipulation;
}
.button-primary { color: var(--paper); background: var(--plum); }
.button-primary:hover:not(:disabled) { background: var(--plum-dark); }
.button-secondary { color: var(--plum); background: var(--paper); border-color: var(--line-strong); }
.button-secondary:hover:not(:disabled) { background: var(--blush); }
.button:focus-visible, .skip-link:focus-visible {
  outline: 3px solid var(--rose);
  outline-offset: 4px;
}
.button:disabled { opacity: .55; cursor: default; }
.entry-status {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.5;
}
.entry-status:not(:empty) { margin-top: 12px; }

.review-amount {
  margin: 28px 0 21px;
  padding: 22px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.amount-display {
  margin-top: 10px;
  font-size: clamp(36px, 10vw, 48px);
  line-height: 1.25;
  letter-spacing: -.03em;
  overflow-wrap: anywhere;
}
.review-disclaimer { margin-top: 12px; color: var(--rose); font-size: 13px; line-height: 1.5; }
.review-note { margin-bottom: 24px; color: var(--muted); font-size: 15px; line-height: 1.6; }
.review-actions { display: grid; gap: 12px; }

.preview-note {
  margin-top: 30px;
  padding: 16px 17px;
  border-left: 2px solid var(--rose);
  background: var(--blush);
  color: var(--muted);
  font-size: 13px;
  line-height: 1.6;
}
.note-heading { color: var(--plum); font-weight: 500; margin-bottom: 5px; }
.noscript-note {
  margin-top: 20px;
  color: var(--rose);
  font-size: 14px;
  line-height: 1.6;
}
.guest-footer {
  margin-top: auto;
  padding-top: 30px;
  color: var(--muted);
  font-size: 11px;
  letter-spacing: .05em;
  line-height: 1.5;
}
.guest-footer span { padding: 0 6px; color: var(--line-strong); }

@media (min-width: 600px) {
  .guest-page { padding-top: 48px; padding-bottom: 30px; }
  .guest-header { padding-bottom: 40px; }
}

@media (max-width: 340px) {
  .guest-page { padding-left: 20px; padding-right: 20px; }
  .guest-header { padding-bottom: 24px; }
  .amount-box { padding-left: 15px; padding-right: 15px; gap: 9px; }
  .amount-box:focus-within { padding-left: 14px; padding-right: 14px; }
}
