/* Hub and loyalty share the Phase 1 restaurant foundations. */
:root { --brand-ink:#fff; }
.r-eyebrow,.h-tools svg { color:var(--brand-text,var(--brand)); }
.r-button.secondary { color:var(--brand-text,var(--brand)); }
.r-button:not(.secondary):hover { background:var(--brand);filter:brightness(.92); }
.r-button,.r-floating { color:var(--brand-ink); }
.r-bottom [aria-current=page],.r-progress .current { background:var(--brand);color:var(--brand-ink); }
.r-logo { width:36px;height:36px;border-radius:10px;object-fit:contain; }
.r-brand { display:flex;align-items:center;gap:10px; }
.r-customer .r-main { max-width:1100px;padding-bottom:130px; }
html { scroll-padding-bottom:120px; }
.r-customer button,.r-customer input { scroll-margin-bottom:120px; }
.r-header nav { min-width:0; }
.r-header nav a { white-space:nowrap; }
.h-welcome { padding:12px 0 24px; }
.h-welcome h1 { max-width:750px;margin:12px 0;font-size:clamp(2.2rem,5vw,3.6rem); }
.h-welcome p:last-child { max-width:650px;margin-bottom:0; }
.h-cover { position:relative;isolation:isolate;overflow:hidden;min-height:360px;border-radius:24px;background:#15362d;color:white; }
.h-cover>img { position:absolute;inset:0;z-index:-2;width:100%;height:100%;object-fit:cover;object-position:center; }
.h-cover::after { content:"";position:absolute;z-index:-1;inset:0;background:linear-gradient(90deg,#0a231ee8,#0a231e88 55%,#0a231e10); }
.h-cover>div { padding:40px; }
.h-cover h2 { margin:22px 0;font-size:clamp(2.5rem,6vw,4rem);line-height:1.04;letter-spacing:-.055em; }
.h-tag { display:inline-block;padding:8px 12px;border-radius:99px;background:#ffffff20;font-size:.72rem; }
.h-cover .r-button { gap:16px; }
.h-cover svg { width:20px;height:20px; }
.h-loyalty { position:relative;display:grid;grid-template-columns:1fr auto;align-items:center;gap:16px;margin:24px 0 32px;padding:30px;border:1px solid #d1ddcb;border-radius:22px;background:#e8eee2; }
.h-loyalty h2 { max-width:550px;margin:6px 0;font-size:clamp(1.5rem,3vw,2rem);line-height:1.15; }
.h-loyalty p { margin:10px 0 18px;color:#4e6352; }
.h-loyalty>small { grid-column:1/-1;color:#61745e;font-size:.72rem; }
.h-stamp-mark { display:grid;place-items:center;width:90px;height:90px;border:1px solid #bfceb9;border-radius:50%;color:#718a61; }
.h-stamp-mark svg { width:42px;height:42px; }
.h-tools { display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;margin:18px 0 28px; }
.h-tools>a,.h-tools>form { margin:0;min-width:0;border:1px solid var(--line);border-radius:16px;background:white; }
.h-tools>a,.h-tools button { display:flex;flex-direction:column;align-items:flex-start;gap:8px;padding:24px;text-decoration:none;color:var(--ink); }
.h-tools button { width:100%;height:100%;border:0;border-radius:16px;background:transparent;font:inherit;text-align:left; }
.h-tools svg { width:24px;height:24px;margin-bottom:6px;color:var(--brand); }
.h-tools strong { font-size:.94rem; }
.h-tools small { font-size:.76rem; }
.h-tools>a:hover,.h-tools button:hover { background:#f0f4ed; }
.h-wifi { scroll-margin-top:140px; }
summary { cursor:pointer;font-weight:700; }
.h-footer { display:flex;flex-wrap:wrap;gap:14px;align-items:center;padding:28px 0;color:var(--muted);font-size:.8rem; }
.h-footer small { flex-basis:100%; }
.r-bottom { position:fixed;z-index:20;bottom:max(12px,env(safe-area-inset-bottom));left:50%;display:grid;grid-template-columns:repeat(5,minmax(0,1fr));width:min(550px,calc(100% - 24px));padding:8px;border:1px solid var(--line);border-radius:20px;transform:translateX(-50%);background:#fff; }
.r-bottom a,.r-nav-future { display:flex;flex-direction:column;align-items:center;justify-content:center;gap:5px;min-height:55px;border-radius:13px;text-decoration:none;font-size:.68rem;font-weight:650; }
.r-bottom svg { width:21px;height:21px; }
.r-nav-future { color:#7d8781;font-size:.6rem; }
.r-floating { bottom:100px; }
.h-section-title { margin:14px 0 30px; }
.h-section-title h1 { margin:14px 0; }
.h-split { display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:22px;align-items:start; }
.h-form { display:grid; }
.h-form>small { margin-top:12px;font-size:.75rem; }
.h-checkbox { display:flex;align-items:flex-start;gap:12px;font-size:.8rem;line-height:1.6;font-weight:400; }
.h-checkbox input { flex:0 0 19px;width:19px;min-height:19px;height:19px;padding:0;margin:3px 0 0;accent-color:var(--brand); }
.h-checkbox span { min-width:0; }
.h-preview { display:flex;flex-direction:column;align-items:flex-start;margin:0; }
.h-preview-stamps { display:grid;grid-template-columns:repeat(3,1fr);align-self:stretch;gap:16px;margin:18px 0; }
.h-preview-stamps span { display:grid;place-items:center;aspect-ratio:1;border:1px dashed #b7c6ae;border-radius:50%;font-size:2rem;color:#839579; }
.h-development { background:#fbf5e8;border-color:#e8d7b4; }
.h-development p { font-size:.8rem; }
.h-development code { overflow-wrap:anywhere; }
.h-digital-card { padding:32px;border:1px solid #bfcfbd;border-radius:24px;background:#edf2e7; }
.h-card-top { display:flex;align-items:center;justify-content:space-between;gap:12px; }
.h-card-top strong { font-size:1.3rem;letter-spacing:-.04em; }
.h-card-top span { font-size:.75rem;font-weight:700; }
.h-digital-card h2 { font-size:3rem;letter-spacing:-.06em;margin:12px 0; }
.h-digital-card h2 span { color:#6e806b;font-size:1.1rem;letter-spacing:-.02em; }
.h-stamps { display:grid;grid-template-columns:repeat(9,minmax(0,1fr));gap:10px;padding:0;margin:24px 0;list-style:none; }
.h-stamps li { display:grid;place-items:center;aspect-ratio:1;border:1px dashed #aaba9e;border-radius:50%;background:#e2e9d9;color:#9aaa8d; }
.h-stamps .earned { background:var(--brand);border-style:solid;border-color:var(--brand);color:var(--brand-ink); }
.h-stamps svg { width:48%;height:48%; }
.h-card-code { display:flex;gap:22px;align-items:center;margin-top:25px;padding-top:24px;border-top:1px solid #ccd8c3; }
.h-card-code>img { width:140px;height:140px;border-radius:12px; }
.h-card-code>div { display:grid;gap:10px;min-width:0; }
.h-card-code code { font-size:.75rem;overflow-wrap:anywhere; }
.h-history { display:grid;gap:8px;margin-top:18px; }
.h-history article { display:flex;justify-content:space-between;gap:20px;padding:14px 0;border-bottom:1px solid var(--line); }
.h-history article>div { display:grid;gap:4px;min-width:0; }
.h-history span { color:var(--muted);font-size:.8rem; }
.h-history small { font-size:.7rem; }
.h-reward { padding:15px 0;border-bottom:1px solid var(--line); }
.h-grow { flex:1;min-width:0; }
.h-settings { display:grid;grid-template-columns:1fr 1fr;gap:20px;align-items:start; }
.h-settings>.r-card { margin:0; }
.h-settings>.r-button { grid-column:1/-1;justify-self:start;margin-bottom:24px; }
.h-media-preview { max-width:100%;width:200px;max-height:150px;object-fit:cover;border-radius:12px; }
input[type=file] { min-width:0;max-width:100%;font-size:.8rem; }
input[type=color] { max-width:120px;padding:5px; }
select { width:100%;min-height:46px;padding:10px;border:1px solid #cbd5ce;border-radius:10px;background:white;color:var(--ink);font:inherit; }
.h-privacy { max-width:800px;margin:auto; }
.h-privacy h1 { font-size:2.5rem; }
.h-privacy p { line-height:1.8; }
@media(max-width:650px){
 .r-product form>.r-button { position:sticky;bottom:100px;z-index:21;width:100%;margin-top:14px; }
 .h-welcome { padding:8px 2px 22px; }
 .h-welcome h1 { font-size:2.25rem; }
 .h-welcome p:last-child { font-size:.9rem; }
 .h-cover { min-height:320px;border-radius:20px; }
 .h-cover>div { padding:26px 22px; }
 .h-cover h2 { font-size:2.8rem; }
 .h-cover .r-button { width:100%;gap:12px; }
 .h-tag { font-size:.64rem; }
 .h-loyalty { padding:22px;grid-template-columns:1fr; }
 .h-stamp-mark { display:none; }
 .h-tools { grid-template-columns:repeat(2,minmax(0,1fr));gap:10px; }
 .h-tools>a,.h-tools button { padding:19px 16px; }
 .h-tools small { font-size:.7rem; }
 .h-split,.h-settings { grid-template-columns:1fr;gap:16px; }
 .h-preview { display:none; }
 .h-digital-card { padding:22px; }
 .h-card-top { align-items:start;flex-direction:column;gap:3px; }
 .h-stamps { grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;max-width:300px;margin:24px auto; }
 .h-stamps li { max-width:78px;width:100%;justify-self:center; }
 .h-card-code { flex-direction:column;text-align:center;gap:14px; }
 .h-card-code img { width:150px;height:150px; }
 .h-card-code code { font-size:.7rem; }
 .h-history article { flex-direction:column;gap:6px; }
 .r-bottom a { font-size:.64rem; }
 .r-qr~.r-bottom { display:none; }
}
@media(prefers-reduced-motion:reduce){*{transition:none!important;scroll-behavior:auto!important}}
@media print{.r-bottom{display:none}}
