@font-face { font-family: "Figtree"; font-weight: 300 900; font-display: swap; src: url("fonts/figtree-latin-wght-normal.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Figtree"; font-weight: 300 900; font-display: swap; src: url("fonts/figtree-latin-ext-wght-normal.woff2") format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Inter"; font-weight: 100 900; font-display: swap; src: url("fonts/inter-latin-wght-normal.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Inter"; font-weight: 100 900; font-display: swap; src: url("fonts/inter-latin-ext-wght-normal.woff2") format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--color-ground); color: var(--color-ink); font-family: var(--font-text); font-size: var(--text-body); line-height: 25px; overflow-x: hidden; position: relative; min-height: 100vh; }
h1, h2, h3, p, ol { margin: 0; padding: 0; }
ol { list-style: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
a { color: var(--color-ink); font-weight: 600; text-underline-offset: 3px; }
:focus-visible { outline: 3px solid var(--color-ink); outline-offset: 3px; border-radius: 6px; }

/* Glows behind the glass: still, never animated. Radial gradients stand in for the blurred circles of the mockup. */
.glows { position: absolute; inset: 0; z-index: 0; pointer-events: none; overflow: hidden;
  background:
    radial-gradient(420px 380px at -6% -2%, rgba(255,122,26,0.92), rgba(255,122,26,0) 70%),
    radial-gradient(220px 200px at 92% 1%, rgba(255,200,61,0.75), rgba(255,200,61,0) 70%),
    radial-gradient(420px 400px at 112% 600px, rgba(44,196,192,0.62), rgba(44,196,192,0) 70%),
    radial-gradient(420px 400px at -14% 1220px, rgba(255,122,26,0.55), rgba(255,122,26,0) 70%);
}

.page { position: relative; z-index: 1; max-width: 1248px; margin: 0 auto; padding: 16px 20px 28px; display: flex; flex-direction: column; gap: 20px; }

.glass { background: var(--glass-fill); -webkit-backdrop-filter: blur(var(--glass-blur)); backdrop-filter: blur(var(--glass-blur)); border: 1px solid var(--glass-edge); }

/* Nav */
.nav { display: flex; justify-content: space-between; align-items: center; }
.logo { display: flex; align-items: center; min-height: var(--touch-target-min); }
.logo-mark { width: 28px; height: 28px; overflow: visible; }
.logo-mark path { stroke: var(--color-ink); stroke-width: 26; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 1; stroke-dashoffset: 0; }
.logo.drawing .logo-mark path { animation: draw var(--motion-logo-draw) ease-in-out both; }
.logo-word { font-family: var(--font-display); font-size: 26px; font-weight: 800; letter-spacing: -0.03em; margin-left: -0.18em; }
@keyframes draw { from { stroke-dashoffset: 1; } to { stroke-dashoffset: 0; } }

.lang { display: flex; gap: 2px; border-radius: var(--radius-pill); padding: 4px; }
.lang button { font-size: 13px; font-weight: 600; padding: 0 12px; min-height: 40px; min-width: 40px; border-radius: var(--radius-pill); }
.lang button[aria-pressed="true"] { background: var(--color-ink); color: #fff; }

/* Hero */
.hero { display: flex; flex-direction: column; gap: 20px; }
.hero-text { display: flex; flex-direction: column; gap: 14px; padding: 20px 4px 4px; }
.tag { align-self: flex-start; display: inline-flex; align-items: center; gap: 8px; border-radius: var(--radius-pill); padding: 7px 14px 7px 10px; font-size: 13px; font-weight: 600; line-height: 18px; }
.tag-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--color-brand-bottom); }
h1 { font-family: var(--font-display); font-size: var(--text-display); font-weight: 800; letter-spacing: -0.025em; line-height: 1.05; text-wrap: balance; }
.lead { max-width: 540px; }

/* Form */
.form-card { border-radius: var(--radius-hero); padding: 18px; }
form { display: flex; flex-direction: column; gap: 16px; }
form[hidden] { display: none; }
.trap { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.switch { position: relative; display: flex; background: rgba(31,29,26,0.07); border-radius: var(--radius-pill); padding: 4px; }
.switch button { position: relative; flex: 1; min-height: var(--touch-target-min); padding: 0 8px; font-family: var(--font-display); font-size: 15px; font-weight: 600; color: var(--color-text-muted-on-glass); border-radius: var(--radius-pill); }
.switch button[aria-selected="true"] { font-weight: 700; color: var(--color-ink); }
.switch-thumb { position: absolute; top: 4px; bottom: 4px; left: 4px; width: calc(50% - 4px); background: #fff; border-radius: var(--radius-pill); box-shadow: var(--shadow-float); transition: transform var(--motion-switch) var(--ease-out); }
.switch[data-role="shop"] .switch-thumb { transform: translateX(100%); }

.field { display: flex; flex-direction: column; gap: 6px; font-size: var(--text-small); font-weight: 600; line-height: 20px; }
.field input { height: 56px; border: 1px solid var(--color-field-border); border-radius: var(--radius-field); background: rgba(255,255,255,0.8); padding: 0 18px; font: 400 16px/1 var(--font-text); color: var(--color-ink); }
.field input::placeholder { color: var(--color-text-muted); }
.field input:focus { outline: none; border: 2px solid var(--color-ink); padding: 0 17px; background: #fff; }
.field textarea { min-height: 96px; border: 1px solid var(--color-field-border); border-radius: var(--radius-field); background: rgba(255,255,255,0.8); padding: 14px 18px; font: 400 16px/22px var(--font-text); color: var(--color-ink); resize: vertical; }
.field textarea::placeholder { color: var(--color-text-muted); }
.field textarea:focus { outline: none; border: 2px solid var(--color-ink); padding: 13px 17px; background: #fff; }
.shop-fields { display: flex; flex-direction: column; gap: 16px; }
.shop-fields[hidden] { display: none; }

.consent { display: flex; gap: 12px; align-items: flex-start; font-size: var(--text-small); line-height: 21px; cursor: pointer; }
.consent input { position: absolute; opacity: 0; width: 24px; height: 24px; margin: 0; }
.consent .box { flex: none; width: 24px; height: 24px; border-radius: 7px; background: #fff; border: 1.5px solid var(--color-ink); display: grid; place-items: center; }
.consent .box svg { width: 14px; height: 14px; stroke: #fff; stroke-width: 3.5; stroke-linecap: round; stroke-linejoin: round; opacity: 0; }
.consent input:checked + .box { background: var(--color-ink); }
.consent input:checked + .box svg { opacity: 1; }
.consent input:focus-visible + .box { outline: 3px solid var(--color-ink); outline-offset: 3px; }
.consent.missing .box { box-shadow: 0 0 0 3px var(--color-ink); }
.error { font-size: var(--text-small); font-weight: 600; line-height: 21px; }

/* Buttons. The hover words sit on top of the resting words, so the button keeps its size. */
.btn { position: relative; display: grid; place-items: center; width: 100%; min-height: 58px; padding: 0 24px; border-radius: var(--radius-pill); font-family: var(--font-display); font-size: 17px; font-weight: 700; color: var(--color-ink); transition: transform var(--motion-press) var(--ease-out), box-shadow var(--motion-hover-words) var(--ease-out); }
.btn > span { grid-area: 1 / 1; text-align: center; transition: opacity var(--motion-hover-words) var(--ease-out); }
.btn .btn-hover { opacity: 0; }
.btn:active { transform: scale(0.97); }
.btn.show-hover .btn-rest { opacity: 0; }
.btn.show-hover .btn-hover { opacity: 1; }
@media (hover: hover) {
  .btn:hover .btn-rest { opacity: 0; }
  .btn:hover .btn-hover { opacity: 1; }
}
.btn-main { background: linear-gradient(180deg, var(--color-brand-top) 0%, var(--color-brand-bottom) 100%); box-shadow: var(--shadow-brand-glow); }
@media (hover: hover) { .btn-main:hover { background: linear-gradient(180deg, var(--color-brand-hover-top) 0%, var(--color-brand-hover-bottom) 100%); box-shadow: 0 14px 30px rgba(255,106,10,0.5); } }
.btn-main[disabled] { opacity: 0.7; cursor: default; }
.btn-second { background: #fff; border: 1.5px solid var(--color-ink); min-height: 54px; font-size: 16px; }
@media (hover: hover) { .btn-second:hover { background: var(--color-ink); color: #fff; } }
.btn-second.show-hover { background: var(--color-ink); color: #fff; }
.link { font-size: var(--text-small); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; min-height: var(--touch-target-min); }

/* Sent state */
.done { display: flex; flex-direction: column; align-items: center; gap: 16px; padding: 26px 10px; text-align: center; }
.done[hidden] { display: none; }
.done h2 { font-family: var(--font-display); font-size: var(--text-title); font-weight: 800; letter-spacing: -0.02em; line-height: 32px; text-wrap: balance; }
.check { width: 84px; height: 84px; }
.check path { stroke: var(--color-ink); stroke-width: 7; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 1; animation: draw var(--motion-success) var(--ease-out) both; }

/* How it works */
.how { display: flex; flex-direction: column; gap: 6px; padding: 28px 4px 0; }
.how h2 { font-family: var(--font-display); font-size: var(--text-title); font-weight: 800; letter-spacing: -0.02em; line-height: 32px; }
.steps li { display: grid; grid-template-columns: 24px 1fr; column-gap: 16px; row-gap: 3px; padding: 16px 0; border-bottom: 1px solid var(--color-hairline); align-items: baseline; }
.steps li:last-child { border-bottom: 0; }
.steps .num { grid-row: 1 / span 2; font-family: var(--font-display); font-size: 28px; font-weight: 800; color: var(--color-link); }
.steps h3 { font-family: var(--font-display); font-size: 20px; font-weight: 700; line-height: 26px; }
.steps p { grid-column: 2; line-height: 24px; }

/* Shops */
.shops { border-radius: var(--radius-panel); padding: 24px; display: flex; flex-direction: column; gap: 14px; }
.shops > div { display: flex; flex-direction: column; gap: 14px; }
.shops h2 { font-family: var(--font-display); font-size: 24px; font-weight: 800; letter-spacing: -0.02em; line-height: 28px; }

/* Footer */
.footer { display: flex; flex-direction: column-reverse; gap: 10px; padding: 16px 4px 0; font-size: var(--text-small); color: var(--color-text-muted-on-glass); }
.footer nav { display: flex; flex-wrap: wrap; gap: 4px 18px; }
.footer nav a { display: inline-flex; align-items: center; min-height: 40px; }

/* Entrance: fade in and rise 12px, once. Only when the script has marked the page as ready to animate. */
.anim [data-rise] { opacity: 0; transform: translateY(12px); }
.anim [data-rise].in { opacity: 1; transform: none; transition: opacity var(--motion-enter) var(--ease-out), transform var(--motion-enter) var(--ease-out); transition-delay: var(--rise-delay, 0s); }

/* Desktop */
@media (min-width: 900px) {
  .page { padding: 32px 96px 48px; gap: 0; }
  .glows { background:
    radial-gradient(760px 640px at 8% -2%, rgba(255,122,26,0.88), rgba(255,122,26,0) 70%),
    radial-gradient(380px 320px at 56% -6%, rgba(255,200,61,0.68), rgba(255,200,61,0) 70%),
    radial-gradient(720px 620px at 104% 560px, rgba(44,196,192,0.6), rgba(44,196,192,0) 70%),
    radial-gradient(700px 520px at 2% 1360px, rgba(255,122,26,0.5), rgba(255,122,26,0) 70%); }
  .logo-mark { width: 36px; height: 36px; }
  .logo-word { font-size: 34px; }
  .hero { flex-direction: row; align-items: center; gap: 72px; padding: 88px 0 96px; }
  .hero-text { flex: 1; gap: 22px; padding: 0; }
  .tag { font-size: 14px; padding: 8px 16px 8px 12px; }
  h1 { font-size: clamp(56px, 6vw, 84px); letter-spacing: -0.035em; line-height: 1; }
  .lead { font-size: 20px; line-height: 31px; }
  .form-card { width: 440px; flex: none; padding: 24px; }
  .how { gap: 28px; padding: 40px 0 72px; }
  .how h2 { font-size: 40px; line-height: 44px; }
  .steps { display: flex; gap: 48px; }
  .steps li { flex: 1; display: flex; flex-direction: column; gap: 8px; border-bottom: 0; border-top: 1px solid var(--color-ink); padding: 20px 0 0; }
  .steps .num { font-size: 40px; line-height: 44px; }
  .steps h3 { font-size: 22px; line-height: 28px; }
  .steps p { line-height: 25px; }
  .shops { flex-direction: row; justify-content: space-between; align-items: center; gap: 48px; border-radius: var(--radius-hero); padding: 40px 48px; }
  .shops > div { gap: 10px; max-width: 640px; }
  .shops h2 { font-size: 34px; line-height: 38px; }
  .shops p { font-size: 18px; line-height: 28px; }
  .shops .btn { width: auto; min-width: 280px; min-height: 58px; font-size: 17px; }
  .footer { flex-direction: row; justify-content: space-between; align-items: center; padding: 40px 0 0; }
  .footer nav { gap: 28px; }
}

@media (prefers-reduced-motion: reduce) {
  .logo.drawing .logo-mark path, .check path { animation: none; }
  .btn, .btn > span, .switch-thumb { transition: none; }
  .anim [data-rise] { transform: none; }
  .anim [data-rise].in { transition: opacity 0.15s linear; transition-delay: 0s; }
}

/* Privacy notice and legal notice */
a.logo { text-decoration: none; }
.doc-page { gap: 20px; }
.doc { border-radius: var(--radius-hero); padding: 28px 22px; max-width: 760px; }
.doc section { display: flex; flex-direction: column; gap: 10px; }
.doc section[hidden] { display: none; }
.doc h1 { font-size: 34px; line-height: 38px; }
.doc h2 { font-family: var(--font-display); font-size: 20px; font-weight: 700; line-height: 26px; padding-top: 12px; }
.doc .meta { font-size: var(--text-small); color: var(--color-text-muted-on-glass); }
@media (min-width: 900px) { .doc-page { gap: 32px; } .doc { padding: 48px 56px; } .doc h1 { font-size: 44px; line-height: 48px; } }

/* Shop name search: Google's place suggestions under the field. No map on this page, so the list may show them. */
.combo { position: relative; }
.suggest { position: absolute; z-index: 5; top: 100%; left: 0; right: 0; margin-top: 6px; background: #fff; border: 1px solid var(--color-field-border); border-radius: var(--radius-field); box-shadow: var(--shadow-float); overflow: hidden; }
.suggest[hidden] { display: none; }
.suggest ul { list-style: none; margin: 0; padding: 4px 0; }
.suggest li { display: flex; flex-direction: column; justify-content: center; min-height: var(--touch-target-min); padding: 8px 18px; cursor: pointer; font-weight: 400; }
.suggest li .main { font-weight: 600; color: var(--color-ink); }
.suggest li .sub { font-size: 13px; line-height: 18px; color: #5E5E5E; }
.suggest li[aria-selected="true"], .suggest li:hover { background: rgba(31,29,26,0.07); }
.suggest .attrib { margin: 0; padding: 10px 18px 6px; border-top: 1px solid var(--color-hairline); font: 400 12px/16px Roboto, var(--font-text), sans-serif; letter-spacing: normal; color: #5E5E5E; text-align: right; white-space: nowrap; }
.also-form { display: flex; flex-direction: column; gap: 14px; width: 100%; text-align: left; }
.done [hidden] { display: none; }
.invite { display: flex; flex-direction: column; gap: 14px; padding: 24px 4px 8px; text-align: center; }
.invite p { font-family: var(--font-display); font-size: 20px; font-weight: 700; line-height: 26px; text-wrap: balance; }
.invite .btn-rest { display: inline-flex; align-items: center; gap: 10px; }
.invite .wa { width: 22px; height: 22px; color: #25D366; }
.invite .btn, .invite .btn span { text-decoration: none; }
