/* Public pages: landing (/), log in (/login) additions, request to register (/register).
   Builds on the tokens and .btn / .field / .input / .pick / .banner patterns in index.html. */

a.btn { text-decoration: none; color: var(--teal); }
a.btn.primary { color: var(--ivory); }
.btn.lg { height: 52px; padding: 0 24px; border-radius: 10px; font-size: 16px; }
.btn.busy:disabled { opacity: 1; cursor: progress; background-image: linear-gradient(100deg, rgba(255,253,248,0) 35%, rgba(255,253,248,.32) 50%, rgba(255,253,248,0) 65%); background-size: 300% 100%; background-repeat: no-repeat; animation: shimmer 1.4s ease-in-out infinite; }

/* landing */
.lp { min-height: 100vh; font-size: 16px; line-height: 1.5; }
.lp-wrap { max-width: 1168px; margin: 0 auto; padding: 0 20px; }
.lp a.lp-skip.lp-skip { position: absolute; left: 12px; top: -60px; z-index: 20; padding: 10px 14px; border-radius: 8px; background: var(--teal); color: var(--ivory); font-weight: 700; text-decoration: none; }
.lp a.lp-skip.lp-skip:focus { top: 12px; color: var(--ivory); }
.lp a:not(.btn) { color: var(--teal); font-weight: 700; }
.lp a:not(.btn):hover { color: var(--teal-600); }
.lp h3 { margin: 0; }
.lp ul, .lp ol { margin: 0; padding: 0; list-style: none; }

.lp-top { position: sticky; top: 0; z-index: 10; background: var(--paper); border-bottom: 1px solid var(--sand); }
.lp-bar { height: 64px; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.lp-brand { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.lp-brand span { font: 600 22px var(--display); color: var(--teal); }
.lp .lp-brand { font-weight: 600; }
.lp-top .btn { height: 44px; padding: 0 18px; font-size: 15px; }

.lp-eyebrow { font-size: 13px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: #7A5314; }
.lp-eyebrow.on-teal { color: #E9C77E; }
.lp-head { display: flex; flex-direction: column; gap: 12px; max-width: 680px; }
.lp-head h2 { font: 600 clamp(32px, 3.8vw, 46px)/1.1 var(--display); color: var(--teal); text-wrap: balance; }
.lp-head p { font-size: 18px; line-height: 1.55; color: var(--ink-2); text-wrap: pretty; }
.lp-sec { padding-top: 64px; padding-bottom: 64px; display: flex; flex-direction: column; gap: 36px; }
.lp-band { background: var(--paper); border-top: 1px solid var(--sand); border-bottom: 1px solid var(--sand); }
#how { scroll-margin-top: 64px; }

.lp-hero { padding-top: 40px; padding-bottom: 56px; display: flex; flex-wrap: wrap; align-items: center; gap: 32px 56px; }
.lp-hero-t { flex: 1 1 440px; min-width: 0; display: flex; flex-direction: column; gap: 20px; }
.lp-hero h1 { font: 600 clamp(40px, 5.6vw, 68px)/1.04 var(--display); letter-spacing: -.01em; color: var(--teal); text-wrap: balance; }
.lp-lede { font-size: 18px; line-height: 1.55; color: var(--ink-2); max-width: 34em; text-wrap: pretty; }
.lp-ctas { display: flex; flex-wrap: wrap; gap: 12px; padding-top: 4px; }
.lp-ticks { display: flex; flex-wrap: wrap; gap: 8px 22px; font-size: 15px; font-weight: 700; color: var(--online-ink); }
.lp-ticks li { display: flex; align-items: center; gap: 7px; }
.lp-ticks svg { color: var(--online); }
.lp-hero-v { flex: 1 1 380px; min-width: 0; display: flex; justify-content: center; }
.lp-kiosk { width: 100%; max-width: 540px; height: auto; display: block; }

.lp-steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr)); gap: 20px; }
.lp-step { padding: 14px 14px 24px; background: var(--ivory); border: 1px solid var(--sand); border-radius: 16px; display: flex; flex-direction: column; gap: 18px; }
.lp-art { height: 196px; border-radius: 12px; background: var(--paper); border: 1px solid var(--sand-track); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px; overflow: hidden; }
.lp-minis { display: grid; grid-template-columns: repeat(2, 92px); gap: 8px; }
.lp-mini { height: 44px; border-radius: 11px; border: 1.5px solid var(--sand); background: var(--paper); display: flex; align-items: center; justify-content: center; font-weight: 800; font-size: 19px; color: var(--teal); }
.lp-mini.on { background: var(--teal); border-color: var(--teal); color: var(--ivory); }
.lp-lang { padding: 4px 12px 4px 9px; border-radius: 999px; border: 1px solid var(--sand-strong); background: var(--paper); color: var(--teal); font-size: 13px; font-weight: 700; display: inline-flex; align-items: center; gap: 6px; }
.lp-step-t { padding: 0 8px; display: flex; flex-direction: column; gap: 8px; }
.lp-step-h { display: flex; align-items: center; gap: 12px; }
.lp-step-h h3 { font: 600 23px/1.2 var(--display); color: var(--teal); }
.lp-num { width: 32px; height: 32px; flex: none; border-radius: 50%; background: var(--teal); color: var(--ivory); display: flex; align-items: center; justify-content: center; font-weight: 800; font-size: 15px; }
.lp-step p, .lp-benefit p { font-size: 16px; line-height: 1.55; color: var(--ink-2); text-wrap: pretty; }

.lp-money { background: var(--teal); color: var(--ivory); }
.lp-money-in { padding-top: 64px; padding-bottom: 64px; display: flex; flex-wrap: wrap; align-items: center; gap: 44px 64px; }
.lp-money-t { flex: 1 1 440px; min-width: 0; display: flex; flex-direction: column; gap: 28px; }
.lp-money .lp-head h2 { color: var(--ivory); }
.lp-points { display: flex; flex-direction: column; gap: 22px; }
.lp-point { display: flex; gap: 16px; }
.lp-point > div { display: flex; flex-direction: column; gap: 4px; }
.lp-point h3 { font-size: 19px; font-weight: 700; color: var(--ivory); }
.lp-point p { font-size: 16px; line-height: 1.55; color: #D8E2DD; text-wrap: pretty; }
.lp-point .lp-ico { background: var(--teal-600); color: #E9C77E; }
.lp-flow { flex: 1 1 340px; min-width: 0; display: flex; flex-direction: column; }
.lp-node { display: flex; align-items: center; gap: 14px; padding: 16px 18px; border: 1px solid rgba(246,241,230,.28); border-radius: 14px; background: rgba(255,253,248,.06); font-weight: 700; font-size: 17px; }
.lp-node svg { color: #E9C77E; }
.lp-node.end { background: var(--ivory); border-color: var(--ivory); color: var(--teal); }
.lp-node.end svg { color: var(--teal); }
.lp-down { height: 36px; display: flex; justify-content: center; }
.lp-aside { margin-top: 22px; padding: 14px 18px; border: 1.5px dashed rgba(233,199,126,.6); border-radius: 14px; display: flex; gap: 12px; align-items: flex-start; font-size: 15px; line-height: 1.5; color: #D8E2DD; }
.lp-aside svg { flex: none; margin-top: 1px; }
.lp-aside strong { color: var(--ivory); }

.lp-ico { width: 44px; height: 44px; flex: none; border-radius: 12px; background: var(--mist); color: var(--teal); display: flex; align-items: center; justify-content: center; }
.lp-benefits { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(320px, 100%), 1fr)); gap: 16px; }
.lp-benefit { padding: 24px; background: var(--paper); border: 1px solid var(--sand); border-radius: 16px; display: flex; flex-direction: column; gap: 12px; }
.lp-benefit h3 { font-size: 19px; font-weight: 700; color: var(--ink); }

.lp-types { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(150px, 100%), 1fr)); gap: 12px; }
.lp-types li { padding: 20px 12px 18px; background: var(--ivory); border: 1px solid var(--sand); border-radius: 14px; display: flex; flex-direction: column; align-items: center; gap: 10px; text-align: center; }
.lp-types img { width: 48px; height: 48px; display: block; }
.lp-types span { font-size: 15px; font-weight: 700; line-height: 1.3; }

.lp-cta { position: relative; overflow: hidden; padding: clamp(28px, 5vw, 64px) clamp(22px, 5vw, 64px); background: var(--paper); border: 1px solid var(--sand); border-radius: 24px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 28px; }
.lp-cta-arch { position: absolute; right: -40px; top: 24px; width: 360px; height: 560px; pointer-events: none; }
.lp-cta-t { position: relative; flex: 1 1 420px; min-width: 0; display: flex; flex-direction: column; gap: 14px; }
.lp-cta-t h2 { font: 600 clamp(30px, 3.4vw, 42px)/1.1 var(--display); color: var(--teal); text-wrap: balance; }
.lp-cta-t p { font-size: 18px; line-height: 1.55; color: var(--ink-2); max-width: 34em; text-wrap: pretty; }
.lp-cta-a { position: relative; flex: 0 1 280px; display: flex; flex-direction: column; gap: 10px; }
.lp-cta-a .btn { width: 100%; }
.lp-cta-a p { font-size: 14px; color: var(--ink-3); text-align: center; }

.lp-foot { border-top: 1px solid var(--sand); }
.lp-foot-in { padding-top: 40px; padding-bottom: 28px; display: flex; flex-wrap: wrap; gap: 28px 48px; justify-content: space-between; }
.lp-foot-b { flex: 1 1 280px; display: flex; flex-direction: column; gap: 10px; }
.lp-foot-b .lp-brand span { font-size: 20px; }
.lp-foot-b p { font-size: 15px; color: var(--ink-2); max-width: 30em; }
.lp-foot-n { display: flex; flex-wrap: wrap; gap: 28px 56px; }
.lp-foot-n > div { display: flex; flex-direction: column; gap: 8px; }
.lp-foot-n a { font-size: 15px; }
.lp-foot-h { font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-3); }
.lp-copy { margin-bottom: 32px; padding-top: 18px; border-top: 1px solid var(--sand-track); font-size: 13px; color: var(--ink-3); }

@media (min-width: 720px) {
  .lp-wrap { padding-left: 24px; padding-right: 24px; }
  .lp-bar { height: 68px; }
  .lp-hero { padding-top: 56px; padding-bottom: 72px; }
  .lp-lede { font-size: 19px; }
  .lp-sec, .lp-money-in { padding-top: 84px; padding-bottom: 84px; gap: 44px; }
  #how { scroll-margin-top: 68px; }
}

/* log in additions */
.login-links { display: flex; flex-direction: column; align-items: center; gap: 4px; }
.textlink { min-height: 44px; padding: 0 8px; display: inline-flex; align-items: center; gap: 4px; border-radius: 8px; font-weight: 700; font-size: 14px; color: var(--teal); text-decoration: underline; text-underline-offset: 3px; }
.textlink:hover { color: var(--teal-600); }
.homelink { align-self: flex-start; min-height: 44px; margin: 0 0 -12px -8px; padding: 0 10px 0 4px; display: inline-flex; align-items: center; gap: 4px; border-radius: 8px; font-weight: 700; font-size: 14px; color: var(--teal); text-decoration: none; }
.homelink:hover { background: var(--sand-track); }

/* request to register */
.login .box.wide { max-width: 440px; gap: 20px; }
.rg-back { align-self: flex-start; min-height: 44px; margin: 0 0 -4px -8px; padding: 0 10px 0 4px; display: inline-flex; align-items: center; gap: 4px; border-radius: 8px; font-weight: 700; font-size: 14px; color: var(--teal); text-decoration: none; }
.rg-back:hover { background: var(--sand-track); }
.rg-head { display: flex; flex-direction: column; gap: 8px; }
.rg-head h1 { font: 600 30px/1.15 var(--display); color: var(--teal); }
.rg-head p { font-size: 15px; line-height: 1.5; color: var(--ink-2); text-wrap: pretty; }
.rg-steps { text-align: left; margin: 4px 0 0; padding-left: 22px; font-size: 15px; line-height: 1.5; color: var(--ink-2); }
.rg-steps li { margin: 6px 0; padding-left: 4px; } .rg-steps b { color: var(--ink); }
.jn form { gap: 16px; }
.jn fieldset { margin: 0; padding: 0; border: 0; border-radius: 0; background: none; min-width: 0; display: flex; flex-direction: column; gap: 16px; }
.rg-vh, .rg-hp { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; }
.rg-hp { left: -9999px; }
.jn .field .opt { font-weight: 400; color: var(--ink-3); }
.jn .note { font-size: 12px; line-height: 1.45; color: var(--ink-3); }
.rg-text { font-family: inherit; color: inherit; height: auto; min-height: 96px; padding: 10px 12px; line-height: 1.45; resize: vertical; }
.jn fieldset:disabled .input, .jn fieldset:disabled .pick { background: var(--sand-soft); border-color: var(--sand); color: var(--ink-2); }
.field.bad .input { border-color: var(--danger); }
.field.bad .input:focus { box-shadow: 0 0 0 3px rgba(180,35,24,.15); }
.rg-err { display: flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 700; color: var(--danger-ink); }
.rg-banner { align-items: flex-start; font-size: 14px; line-height: 1.45; }
.rg-banner svg { margin-top: 1px; }
.rg-banner strong { display: block; color: var(--danger-deep); }
.rg-banner a { color: var(--danger-ink); font-weight: 700; }
.rg-send { height: 48px; margin-top: 4px; font-size: 15px; }
.rg-status { min-height: 18px; margin-top: -4px; text-align: center; font-size: 13px; color: var(--ink-3); }
.rg-done { padding: 36px 24px 28px; background: var(--paper); border: 1px solid var(--sand); border-radius: 16px; display: flex; flex-direction: column; align-items: center; gap: 14px; text-align: center; }
.rg-done .mk { width: 56px; height: 56px; border-radius: 28px; background: var(--online-bg); color: var(--online); display: flex; align-items: center; justify-content: center; }
.rg-done h1 { font: 600 28px/1.2 var(--display); color: var(--teal); }
.rg-done h1:focus { outline: 0; }
.rg-done p { max-width: 340px; font-size: 15px; line-height: 1.55; color: var(--ink-2); text-wrap: pretty; }
.rg-done p strong { color: var(--ink); }
.rg-done p.fine { font-size: 14px; color: var(--ink-3); }
.rg-email { word-break: break-all; }
.rg-done-a { width: 100%; margin-top: 8px; display: flex; flex-direction: column; gap: 10px; }
.rg-done-a .btn { height: 46px; }
.btn.rg-plain { border-color: transparent; background: transparent; }
.btn.rg-plain:hover { background: var(--sand-track); }
h1[tabindex="-1"]:focus { outline: none; }

button.textlink { border: 0; background: none; font-family: inherit; cursor: pointer; }
.textlink.quiet { font-weight: 400; color: var(--ink-3); }
.login .box > .rg-head { text-align: center; margin: -4px 0; }
.login .field .note, .login .field .rg-err { line-height: 1.45; }
.login form .rg-send { margin-top: 2px; }
.login .rg-done { max-width: 100%; }
.login .rg-done-a .btn { width: 100%; }
.login .box > [aria-live]:empty { margin-top: -24px; }
.login .box > .rg-head h1 { font-size: 26px; text-wrap: balance; }
.rg-done a { color: var(--teal); }
.field .note a { color: var(--teal); font-weight: 700; }
