/* landing base: shared by every landing template, written before the template's own CSS.
   Templates set the --lp-* colors and font; the build writes the accent colors after both.
   Nothing here draws a layout. */
:root {
  --lp-bg: #ffffff; --lp-text: #1d1d1f; --lp-text-2: #6e6e73; --lp-rule: #d2d2d7; --lp-fill: #f5f5f7;
  --lp-accent: #0071e3; --lp-on-accent: #ffffff; --lp-accent-text: #0066cc;
  --lp-field-border: #86868b; --lp-error: #d70015;
  --lp-font: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --lp-ease: cubic-bezier(0.16, 1, 0.3, 1);
  --lp-gutter: 1.25rem;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
body { margin: 0; background: var(--lp-bg); color: var(--lp-text); font-family: var(--lp-font); line-height: 1.47; -webkit-font-smoothing: antialiased; -webkit-tap-highlight-color: transparent; overflow-wrap: break-word; }
img, svg, video { display: block; max-width: 100%; }
img { height: auto; }
h1, h2, h3, h4, p, ul, ol, dl, dd, figure, blockquote { margin: 0; }
ul, ol { padding: 0; list-style: none; }
button { font: inherit; color: inherit; }
::selection { background: color-mix(in srgb, var(--lp-accent) 26%, transparent); }
:focus-visible { outline: 2px solid var(--lp-accent-text); outline-offset: 3px; }
[hidden] { display: none !important; }
.lp-skip { position: absolute; left: var(--lp-gutter); top: 0.5rem; z-index: 50; padding: 0.625rem 1rem; border-radius: 0.75rem; background: var(--lp-text); color: var(--lp-bg); font-weight: 600; text-decoration: none; transform: translateY(-200%); }
.lp-skip:focus { transform: none; }
.lp-sr { position: absolute; width: 1px; height: 1px; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
/* a control that does nothing without scripts */
html:not(.js) [data-lp-js-only] { display: none !important; }
/* the following bar: templates style .lp-bar's inside; this only moves it */
.lp-bar { display: none; }
:is(html.js) .lp-bar { display: block; position: fixed; z-index: 40; visibility: hidden; transition: transform 0.45s var(--lp-ease), visibility 0s linear 0.45s; }
:is(html.js) .lp-bar:is(.is-top) { inset: 0 0 auto 0; transform: translateY(-105%); padding-top: env(safe-area-inset-top); }
:is(html.js) .lp-bar:is(.is-bottom) { inset: auto 0 0 0; transform: translateY(105%); padding-bottom: env(safe-area-inset-bottom); }
:is(html.js) .lp-bar:is(.is-shown) { transform: none; visibility: visible; transition-delay: 0s; }
/* text folded to a few lines with "more" (data-lp-more); unfolded with scripts off */
:is(html.js) [data-lp-more]:not(.is-open) [data-lp-fold] { max-height: var(--lp-fold, 4.41em); overflow: hidden; }
/* the lead form */
.lp-lead { display: grid; gap: 0.875rem; max-width: 30rem; }
.lp-lead_field { display: grid; gap: 0.3125rem; }
.lp-lead_label { font-size: 0.9375rem; font-weight: 600; }
.lp-lead_input { width: 100%; min-height: 2.875rem; padding: 0.6875rem 0.875rem; border: 1px solid var(--lp-field-border); border-radius: 0.75rem; background: var(--lp-bg); color: var(--lp-text); font: inherit; font-size: 1.0625rem; }
.lp-lead_input:focus-visible { outline-offset: 0; border-color: var(--lp-accent-text); }
.lp-lead_input:is(textarea) { min-height: 6rem; resize: vertical; }
.lp-lead_input:user-invalid { border-color: var(--lp-error); }
.lp-lead_consent { color: var(--lp-text-2); font-size: 0.875rem; line-height: 1.45; }
.lp-lead_submit { justify-self: start; min-height: 2.875rem; padding: 0.6875rem 1.5rem; border: 0; border-radius: 1.4375rem; background: var(--lp-accent); color: var(--lp-on-accent); font-weight: 700; font-size: 1.0625rem; cursor: pointer; transition: transform 0.2s var(--lp-ease), filter 0.2s ease; }
.lp-lead_submit:hover { filter: brightness(1.08); }
.lp-lead_submit:active { transform: scale(0.97); }
.lp-lead_submit:disabled { opacity: 0.6; cursor: progress; }
.lp-lead_done { padding: 1rem 1.125rem; border-radius: 0.875rem; background: var(--lp-fill); font-weight: 600; }
.lp-lead_error { color: var(--lp-error); font-weight: 600; }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; } }
/* the error red, lighter on dark pages so it reads at 4.5:1 on black and #1c1c1e */
:root[data-appearance="dark"] { --lp-error: #ff6961; }
@media (prefers-color-scheme: dark) { :root[data-appearance="auto"] { --lp-error: #ff6961; } }

/* ---- wallet-pass 1.0.0 ---- */
/* wallet-pass: an offer drawn as a mobile wallet pass. Phone first (375): the pass, a claim
   button, then the form. At 992 the pass and the claim sit side by side. The notches in the
   pass are cut with a mask (so the page shows through), the lift is a drop-shadow that follows
   the cut. The flip is an enhancement: without scripts both sides are stacked. System font only.
   The build writes the accent colors (the pass itself, buttons, links) after this file. */

:root {
  --wp-page: #ecebe8;
  --wp-text: #1c1b19;
  --wp-text-2: #58564f;
  --wp-rule: #cfccc5;
  --wp-fill: #f6f5f2;
  --wp-field: #ffffff;
  --wp-ink: #1c1b19;
  --wp-ink-2: #5c5a55;
  --wp-card: #ffffff;
  --wp-shadow: rgba(30, 24, 10, 0.2);
  --wp-gutter: 1.25rem;
  --wp-notch: 0.8125rem;
  --wp-font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --wp-mono: ui-monospace, "SF Mono", Menlo, Consolas, "Liberation Mono", monospace;
  --lp-bg: var(--wp-page); --lp-text: var(--wp-text); --lp-text-2: var(--wp-text-2); --lp-rule: var(--wp-rule); --lp-fill: var(--wp-fill);
  --lp-field-border: #77746d; --lp-font: var(--wp-font); --lp-gutter: var(--wp-gutter);
}
:root[data-appearance="dark"] {
  --wp-page: #000000; --wp-text: #f2f0ec; --wp-text-2: #aaa7a0; --wp-rule: #3a3936; --wp-fill: #1c1c1e; --wp-field: #1c1c1e; --wp-shadow: rgba(0, 0, 0, 0.6); --lp-field-border: #8a8780;
}
@media (prefers-color-scheme: dark) {
  :root[data-appearance="auto"] {
    --wp-page: #000000; --wp-text: #f2f0ec; --wp-text-2: #aaa7a0; --wp-rule: #3a3936; --wp-fill: #1c1c1e; --wp-field: #1c1c1e; --wp-shadow: rgba(0, 0, 0, 0.6); --lp-field-border: #8a8780;
  }
}

body { background: var(--wp-page); color: var(--wp-text); font-family: var(--wp-font); }
.wp-page { max-width: 62rem; margin: 0 auto; padding: 1.5rem var(--wp-gutter) 2rem; display: grid; gap: 1.5rem; }
.wp-h2 { font-size: 1.25rem; line-height: 1.25; font-weight: 700; }

/* ---- the pass ---- */
.wp-stage { width: 100%; max-width: 23rem; margin-inline: auto; }
.wp-inner { display: grid; gap: 1.25rem; }
.wp-face { display: flex; flex-direction: column; filter: drop-shadow(0 1px 1px var(--wp-shadow)) drop-shadow(0 10px 18px var(--wp-shadow)); }
.wp-top { flex: 1; padding: 1.125rem 1.25rem 1rem; border-radius: 1.25rem 1.25rem 0 0; background: var(--lp-accent); color: var(--lp-on-accent); display: grid; align-content: start; gap: 1.125rem; overflow-wrap: anywhere;
  -webkit-mask: radial-gradient(var(--wp-notch) at 0 100%, #0000 97%, #000) left / 51% 100% no-repeat, radial-gradient(var(--wp-notch) at 100% 100%, #0000 97%, #000) right / 51% 100% no-repeat;
  mask: radial-gradient(var(--wp-notch) at 0 100%, #0000 97%, #000) left / 51% 100% no-repeat, radial-gradient(var(--wp-notch) at 100% 100%, #0000 97%, #000) right / 51% 100% no-repeat; }
.wp-top.is-alone { border-radius: 1.25rem; -webkit-mask: none; mask: none; padding-bottom: 1.125rem; }
.wp-bottom { padding: 1.5rem 1.25rem 1.375rem; border-radius: 0 0 1.25rem 1.25rem; background: var(--wp-card); color: var(--wp-ink); display: grid; gap: 0.625rem; justify-items: center; text-align: center;
  -webkit-mask: radial-gradient(var(--wp-notch) at 0 0, #0000 97%, #000) left / 51% 100% no-repeat, radial-gradient(var(--wp-notch) at 100% 0, #0000 97%, #000) right / 51% 100% no-repeat;
  mask: radial-gradient(var(--wp-notch) at 0 0, #0000 97%, #000) left / 51% 100% no-repeat, radial-gradient(var(--wp-notch) at 100% 0, #0000 97%, #000) right / 51% 100% no-repeat; }
.wp-bottom::before { content: ""; justify-self: stretch; height: 0; margin: -0.75rem 0.75rem 0.375rem; border-top: 2px dashed #c9c6bf; }
.wp-strip { display: flex; align-items: center; gap: 0.75rem; min-width: 0; }
.wp-mark { flex: none; width: 2.5rem; height: 2.5rem; border-radius: 0.625rem; object-fit: cover; background: var(--lp-on-accent); }
.wp-mark:is(.is-monogram) { display: grid; place-items: center; color: var(--lp-accent); font-size: 1.25rem; font-weight: 800; }
.wp-name { flex: 1; min-width: 0; font-size: 1.0625rem; font-weight: 700; line-height: 1.2; }
.wp-label { flex: none; max-width: 40%; text-align: right; font-size: 0.75rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.07em; line-height: 1.25; }
.wp-offerbox { display: grid; gap: 0.5rem; }
.wp-caption { margin-top: -0.125rem; font-size: 0.8125rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.07em; }
.wp-offer { font-size: 3.5rem; line-height: 1; font-weight: 800; letter-spacing: -0.035em; text-wrap: balance; }
.wp-offer.is-mid { font-size: 2.875rem; }
.wp-offer.is-long { font-size: 2.25rem; line-height: 1.08; letter-spacing: -0.02em; }
.wp-detail { font-size: 1rem; line-height: 1.4; font-weight: 500; }
.wp-photo { width: calc(100% + 2.5rem); max-width: none; margin-inline: -1.25rem; aspect-ratio: 16 / 7; object-fit: cover; }
.wp-fieldrow { display: flex; align-items: flex-end; justify-content: space-between; gap: 0.75rem; }
.wp-fields { display: flex; flex-wrap: wrap; gap: 0.75rem 1.5rem; min-width: 0; }
.wp-field { display: grid; gap: 0.125rem; min-width: 0; }
.wp-field_label { font-size: 0.75rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.07em; }
.wp-field_value { font-size: 1.0625rem; font-weight: 700; line-height: 1.25; }
.wp-flip { flex: none; display: inline-flex; align-items: center; gap: 0.375rem; min-height: 2.75rem; padding: 0.25rem 0.25rem 0.25rem 0.5rem; margin: -0.5rem -0.25rem -0.5rem 0; border: 0; background: none; color: inherit; font-size: 0.9375rem; font-weight: 700; cursor: pointer; border-radius: 0.5rem; }
.wp-flip:focus-visible { outline-color: currentColor; }
.wp-bars { width: 100%; max-width: 15.5rem; height: 3.75rem; fill: var(--wp-ink); }
.wp-codetext { font-family: var(--wp-mono); font-size: 1.125rem; font-weight: 700; letter-spacing: 0.14em; }
.wp-screen { font-size: 1.5rem; font-weight: 800; line-height: 1.15; letter-spacing: -0.01em; }
.wp-instruction { color: var(--wp-ink-2); font-size: 1rem; }
.wp-terms { justify-items: start; text-align: left; flex: 1; align-content: start; }
.wp-terms .wp-h2 { margin-bottom: 0.125rem; }
.wp-termlist { display: grid; gap: 0.625rem; padding-left: 1.125rem; list-style: disc; font-size: 1rem; line-height: 1.45; }
.wp-termlist li::marker { color: var(--wp-ink-2); }
.wp-backfields { display: grid; gap: 0.625rem; margin-top: 0.5rem; width: 100%; }
.wp-backfield { display: grid; gap: 0.0625rem; }
.wp-backfield dt { color: var(--wp-ink-2); font-size: 0.75rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.07em; }
.wp-backfield dd { font-size: 1rem; font-weight: 600; }
.wp-top_back { flex: none; padding-bottom: 1.125rem; }
.wp-top_back .wp-strip { min-height: 2.75rem; }
.wp-back .wp-flip, .wp-top_back .wp-flip { margin: 0; }

/* the flip, with scripts */
:is(html.js) .wp-pass { perspective: 1600px; }
:is(html.js) .wp-inner { display: grid; gap: 0; transform-style: preserve-3d; transition: transform 0.7s var(--lp-ease); }
:is(html.js) .wp-face { grid-area: 1 / 1; -webkit-backface-visibility: hidden; backface-visibility: hidden; }
:is(html.js) .wp-backface { transform: rotateY(180deg); }
:is(html.js) .wp-pass.is-flipped .wp-inner { transform: rotateY(180deg); }
:is(html.js) .wp-backface .wp-bottom { flex: 1; }

/* after the date */
.wp-ended { margin-top: 1rem; padding: 1rem 1.125rem; border-radius: 0.875rem; background: var(--wp-fill); font-size: 1.125rem; font-weight: 700; text-align: center; }
.wp-page.is-ended .wp-pass { opacity: 0.55; filter: grayscale(1); }

/* ---- claim ---- */
.wp-claim { display: grid; gap: 1.5rem; max-width: 23rem; width: 100%; margin-inline: auto; align-content: start; }
.wp-claim_form { display: grid; gap: 0.75rem; scroll-margin-top: 1rem; }
.wp-claim_text { color: var(--wp-text-2); }
.wp-claim .lp-lead { max-width: none; }
.wp-claim .lp-lead_input { background: var(--wp-field); }
.wp-claim .lp-lead_done { background: var(--wp-field); }
.wp-btn { display: inline-flex; align-items: center; justify-content: center; min-height: 3rem; padding: 0.625rem 1.5rem; border: 0; border-radius: 0.875rem; background: var(--lp-accent); color: var(--lp-on-accent); font-size: 1.0625rem; font-weight: 700; text-decoration: none; cursor: pointer; transition: filter 0.2s ease; }
.wp-btn:hover { filter: brightness(1.08); }
.wp-claim .lp-lead_submit { justify-self: stretch; }

.wp-foot { padding: 1.5rem var(--wp-gutter) 2.5rem; color: var(--wp-text-2); font-size: 0.875rem; line-height: 1.5; }
.wp-foot_inner { max-width: 62rem; margin: 0 auto; display: grid; gap: 0.5rem; justify-items: center; text-align: center; }
.wp-foot_text { max-width: 36rem; }
.wp-foot_links { display: flex; flex-wrap: wrap; justify-content: center; gap: 0 1.25rem; }
.wp-foot_link { display: inline-block; padding-block: 0.625rem; color: var(--lp-accent-text); font-weight: 600; }

@media (min-width: 768px) {
  :root { --wp-gutter: 2rem; }
  .wp-page { padding-top: 3rem; }
  .wp-stage, .wp-claim { max-width: 25rem; }
  .wp-offer { font-size: 4rem; }
  .wp-offer.is-mid { font-size: 3.25rem; }
  .wp-offer.is-long { font-size: 2.5rem; }
}
@media (min-width: 992px) {
  .wp-page { grid-template-columns: 25rem minmax(0, 26rem); justify-content: center; align-items: center; column-gap: 6rem; min-height: 38rem; padding-block: 4rem; }
  .wp-stage { margin-inline: 0; }
  .wp-claim { margin-inline: 0; }
  .wp-jump { display: none; }
  .wp-foot_inner { padding-inline: 0; }
}
@media (max-width: 359px) {
  :root { --wp-gutter: 1rem; }
  .wp-offer { font-size: 3rem; }
  .wp-offer.is-mid { font-size: 2.5rem; }
}

/* ended: with the code gone the front is one piece */
.wp-page.is-ended .wp-front .wp-top { border-radius: 1.25rem; -webkit-mask: none; mask: none; }

/* accent, written by spf-site landing build */
:root { --lp-accent: #00c8fb; --lp-on-accent: #1d1d1f; --lp-accent-text: #00c8fb; }
