@font-face { font-family: Kartiv; src: url(fonts/Kartiv-Bold.otf) format("opentype"); font-weight: 700; font-display: block;
  unicode-range: U+0590-05FF, U+FB1D-FB4F; } /* Hebrew only: Latin words like Coola fall to Heebo bold */
@font-face { font-family: Heebo; src: url(fonts/Heebo-400.ttf) format("truetype"); font-weight: 400; font-display: swap; }
@font-face { font-family: Heebo; src: url(fonts/Heebo-700.ttf) format("truetype"); font-weight: 700; font-display: swap; }

/* coola.club identity: navy ground, ice accent, Kartiv for the two headings, Heebo for everything else */
:root {
  --ground: #06101f;
  --surface: #0f2040;
  --ink: #f0f8ff;
  --soft: #b8cbe2;
  --ice: #74d4ff;
  --ice-hi: #a8e4ff;
  --on-ice: #06101f;
  --field-line: #4a6694;  /* 3.2:1 on the ground, so an empty field still reads as a field */
  --rule: #1d3157;        /* hairlines between rows, decorative */
  --alert: #ffa094;

  --display: Kartiv, Heebo, sans-serif;
  --text: Heebo, sans-serif;

  --s-h1: clamp(40px, 24px + 4vw, 88px);
  --s-h2: clamp(26px, 22px + .8vw, 32px);
  --s-lead: clamp(18px, 16px + .45vw, 22px);
  --s-body: clamp(16px, 15.4px + .2vw, 18px);
  --s-small: 15px;

  --r: 14px;
  --cube: 22%;            /* a Coola cube's corner; used only on small squares */

  --ease-out: cubic-bezier(.22, 1, .36, 1);
  --ease-io: cubic-bezier(.76, 0, .24, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { color-scheme: dark; -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scrollbar-color: var(--field-line) var(--ground); accent-color: var(--ice); }
body { margin: 0; background: var(--ground); color: var(--ink); font: 400 var(--s-body)/1.55 var(--text); -webkit-font-smoothing: antialiased; overflow-x: clip; }
h1, h2, h3, p, ol, ul { margin: 0; }
ol, ul { padding: 0; list-style: none; }
img { display: block; max-width: 100%; }
button, input { font: inherit; color: inherit; }
a { color: inherit; text-underline-offset: .2em; text-decoration-thickness: .07em; }
a:hover { color: var(--ice-hi); }
:focus-visible { outline: 3px solid var(--ice); outline-offset: 3px; border-radius: 4px; }
::selection { background: var(--ice); color: var(--on-ice); }
h1, h2 { font-family: var(--display); font-weight: 700; text-wrap: balance; }
p, li { text-wrap: pretty; }
bdi, .ltr { direction: ltr; unicode-bidi: isolate; }
bdi { white-space: nowrap; }
[hidden] { display: none !important; }

/* ---------- page: content on the reading side, the card held beside it ---------- */
.page { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); min-height: 100svh; }
.col { grid-column: 1; grid-row: 1; padding: 32px clamp(24px, 5vw, 96px) 40px; }
.col > * { max-width: 520px; }

.stage { grid-column: 2; grid-row: 1; position: sticky; top: 12px; height: calc(100svh - 24px); min-height: 520px; margin: 12px;
  border-radius: var(--r); background: var(--stage, var(--ice)); display: grid; place-items: center; transition: background-color .6s ease; }

.logo { display: inline-block; }
.logo img { width: 104px; height: auto; }

/* ---------- the club card, filled in as the visitor types ---------- */
.club { container-type: inline-size; position: relative; width: min(520px, 78%); aspect-ratio: 1.586;
  background: var(--ground); color: var(--ink); border-radius: var(--r); box-shadow: 0 24px 48px -12px rgb(0 0 0 / .4); }  /* taste-skill-ignore: the club card is a drawn physical object; its shadow is part of the drawing */
/* inside the card every length is a share of the card's width (cqi), so the card scales as one piece */
.club-in { position: absolute; inset: 0; padding: 6cqi; display: grid; grid-template-rows: auto 1fr auto auto; }
.club-logo { width: 22cqi; height: auto; }
.club-spot { align-self: end; font-size: clamp(12px, 3.2cqi, 16px); color: var(--soft); }
.club-num { font: 700 clamp(18px, 6cqi, 30px)/1.15 var(--text); font-variant-numeric: tabular-nums; letter-spacing: .02em; color: var(--ice);
  text-align: right; direction: ltr; unicode-bidi: isolate; }
.club-num i { font-style: normal; color: #6f8ab5; }
.club-foot { display: flex; justify-content: space-between; gap: 12px; margin-top: 1.5cqi; font-size: clamp(13px, 3.2cqi, 16px); }
.club-foot .ltr { color: var(--soft); }
.club-bal { position: absolute; top: 6cqi; left: 6cqi; /* the element is direction: ltr, so inline-end would be the right side, on top of the RTL logo */ font: 700 clamp(18px, 5.4cqi, 28px)/1 var(--text); color: var(--ice); direction: ltr; }

/* a location with its own card art (cards/card.html, Monyx 255x160 spec): our text sits in the art's lower 30% */
.has-art { background: var(--card) center / cover no-repeat; aspect-ratio: 765 / 480; color: #10203a; border-radius: 4.7% / 7.5%; }
.has-art .club-in { display: flex; flex-direction: column; justify-content: flex-end; align-items: flex-start; direction: ltr; padding: 0 5.6cqi 5.2cqi; }
.has-art .club-logo, .has-art .club-spot, .has-art [data-code] { display: none; }
.has-art .club-foot { order: 1; margin: 0; font: 700 clamp(13px, 3.6cqi, 19px)/1.25 var(--text); unicode-bidi: plaintext; }
.has-art .club-num { order: 2; font: 700 clamp(13px, 3cqi, 16px)/1.4 var(--text); color: #10203a; text-align: left; letter-spacing: .04em; }
.has-art .club-num i { color: #56688a; }
.has-art .club-bal { top: auto; bottom: 5.2cqi; left: auto; inset-inline-end: 5.6cqi; font-size: clamp(17px, 5.2cqi, 28px); color: #10203a; }

/* ---------- intro + form ---------- */
.intro { margin-top: clamp(48px, 9vh, 96px); }
h1 { font-size: var(--s-h1); line-height: 1; letter-spacing: -.02em; }
.lead { font-size: var(--s-lead); line-height: 1.4; margin-top: 16px; max-width: 30em; }

form { margin-top: 32px; }
.fields { display: grid; gap: 20px; }
.field label { display: block; font-weight: 700; margin-bottom: 8px; }
.opt { font-weight: 400; color: var(--soft); }
.field input { width: 100%; height: 56px; padding: 0 16px; background: var(--surface); border: 1px solid var(--field-line); border-radius: var(--r);
  caret-color: var(--ice); transition: border-color .18s, outline-color .18s; }
.field input[type=tel] { direction: ltr; text-align: right; font-variant-numeric: tabular-nums; letter-spacing: .02em; }
.field input::placeholder { color: #6f8ab5; }
.field input:hover { border-color: #6f8ab5; }
.field input:focus { border-color: var(--ice); outline: 1px solid var(--ice); outline-offset: 0; }
.field input[aria-invalid=true] { border-color: var(--alert); outline: 1px solid var(--alert); outline-offset: 0; }
.hint { margin-top: 8px; font-size: var(--s-small); line-height: 1.45; color: var(--soft); }

.checks { margin-top: 24px; display: grid; gap: 16px; }
.check { display: grid; grid-template-columns: 24px 1fr; gap: 12px; align-items: start; cursor: pointer; line-height: 1.45; }
.check input { appearance: none; margin: 1px 0 0; width: 24px; height: 24px; border-radius: var(--cube); background: var(--surface); border: 1px solid var(--field-line);
  display: grid; place-content: center; cursor: pointer; transition: background-color .18s, border-color .18s, transform .14s var(--ease-out); }
.check input::after { content: ""; width: 10px; height: 5px; margin-top: -3px; border: solid var(--on-ice); border-width: 0 0 2px 2px;
  transform: rotate(-45deg) scale(.6); opacity: 0; transition: transform .2s var(--ease-out), opacity .15s; }
.check input:checked { background: var(--ice); border-color: var(--ice); }
.check input:checked::after { transform: rotate(-45deg) scale(1); opacity: 1; }
.check input:active { transform: scale(.9); }
.check.invalid input { border-color: var(--alert); }
.check .hint { display: block; margin-top: 4px; }

.ts { margin-top: 16px; }  /* the real Cloudflare Turnstile widget; invisible unless Cloudflare asks for a click */
.ts:empty { margin-top: 0; }

.go { margin-top: 24px; width: 100%; height: 56px; border: 0; border-radius: var(--r); background: var(--ice); color: var(--on-ice);
  font: 700 var(--s-body) var(--text); cursor: pointer; display: flex; align-items: center; justify-content: center; gap: 12px;
  transition: background-color .18s, transform .14s var(--ease-out); }
.go:hover { background: var(--ice-hi); }
.go:active { transform: scale(.98); }
.go[aria-busy=true] { cursor: progress; }
.go:disabled:not([aria-busy=true]) { opacity: .45; cursor: not-allowed; }
.tumble { width: 18px; height: 18px; border-radius: var(--cube); background: var(--on-ice); animation: tumble 1.1s var(--ease-io) infinite; }
@keyframes tumble { 0% { transform: rotate(0); } 50% { transform: rotate(90deg) scale(.8); } 100% { transform: rotate(180deg); } }
.err { min-height: 1.5em; margin-top: 12px; color: var(--alert); font-weight: 700; }
.err:empty { min-height: 0; margin: 0; }
.busy .field, .busy .check, .busy .ts { opacity: .6; }

/* ---------- where the machine stands (form view): a map crop with the pin at its centre ---------- */
.where { display: grid; grid-template-columns: 88px minmax(0, 1fr); gap: 16px; align-items: center; margin-top: 24px; max-width: 30em; }
.where-pic { position: relative; display: block; width: 88px; height: 88px; border-radius: var(--r); overflow: hidden; background: var(--surface); }
.where-pic img { width: 100%; height: 100%; object-fit: cover; }
/* the drawn map, enlarged past the box and shifted so the pin lands in the middle */
.where-map { --z: 1.8; }
.where-map img { position: absolute; max-width: none; width: calc(var(--z) * 100%); height: auto; object-fit: fill;
  left: calc(50% - var(--px) * var(--z)); top: calc(50% - var(--py) * var(--z) * var(--ar)); }
.where-map .pin { left: 50%; top: 50%; width: 12px; height: 12px; margin: -6px 0 0 -6px;
  box-shadow: 0 0 0 4px rgb(116 212 255 / .22), 0 0 0 9px rgb(116 212 255 / .08); }  /* taste-skill-ignore: rings of the location pin, part of the map drawing */
.where-t { font-weight: 700; line-height: 1.35; }
.where-l { margin-top: 2px; font-size: var(--s-small); line-height: 1.45; color: var(--soft); }
.where-nav { display: flex; flex-wrap: wrap; gap: 4px 16px; margin-top: 6px; font-size: var(--s-small); color: var(--soft); }
.where-nav a, .go-links a { color: var(--ice); font-weight: 700; }
.where-nav a:hover, .go-links a:hover { color: var(--ice-hi); }

/* ---------- done: the app, the walk, the machine ---------- */
.done .lead bdi { color: var(--ice); font-weight: 700; }
.done > .hint { margin-top: 12px; max-width: 36em; }
.legs { margin-top: 48px; display: grid; gap: 56px; }
.leg h2 { display: flex; align-items: center; gap: 14px; font-size: var(--s-h2); line-height: 1.15; }
/* the step number is a Coola cube: the same 22% corner as the pin on the map and the markers on the machine */
.n { flex: none; display: grid; place-items: center; width: 40px; height: 40px; border-radius: var(--cube); background: var(--ice); color: var(--on-ice);
  font: 700 20px/1 var(--text); font-variant-numeric: tabular-nums; }
.leg > p, .leg [data-for] > p { margin-top: 12px; max-width: 34em; }
.apps { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 20px; }
.store { display: inline-flex; flex-direction: column; justify-content: center; min-width: 160px; height: 56px; padding: 0 20px; border-radius: var(--r);
  background: var(--ink); color: var(--on-ice); text-decoration: none; line-height: 1.15; transition: background-color .18s, transform .14s var(--ease-out); }
.store small { font-size: 13px; }
.store b { direction: ltr; text-align: right; }
.store:hover { background: var(--ice-hi); color: var(--on-ice); }
.store:active { transform: scale(.97); }

/* the map: an SVG drawn from OpenStreetMap, place names and the pin set on top as text */
.map { position: relative; margin: 20px 0 0; border-radius: var(--r); overflow: hidden; background: #071328; }
.map img { width: 100%; height: auto; }
.m-hmr { --px: 55.95%; --py: 48.61%; --ar: .882; }
.m-hmr .l-sea { --x: 4%; --y: 4%; }
.m-hmr .l-marina { --x: 7%; --y: 33%; }
.m-hmr .l-arena { --x: 58%; --y: 18%; }
.lab { position: absolute; left: var(--x); top: var(--y); font-size: clamp(12px, 2.6cqi, 15px); line-height: 1.2; color: #8aa3cb; white-space: nowrap; pointer-events: none; }
.lab.sea { color: #6683b3; font-weight: 700; }
.nw { white-space: nowrap; }
.map { container-type: inline-size; }
.pin { position: absolute; left: var(--px); top: var(--py); width: 22px; height: 22px; margin: -11px 0 0 -11px; border-radius: var(--cube); background: var(--ice);
  box-shadow: 0 0 0 8px rgb(116 212 255 / .22), 0 0 0 18px rgb(116 212 255 / .1); }  /* taste-skill-ignore: rings of the location pin, part of the map drawing */
.pin b { position: absolute; bottom: calc(100% + 16px); left: 50%; transform: translateX(-50%); padding: 7px 10px; border-radius: 8px;
  background: var(--ice); color: var(--on-ice); font: 700 clamp(13px, 2.8cqi, 16px)/1 var(--text); white-space: nowrap; direction: ltr; z-index: 1; }
.map figcaption { position: absolute; left: 10px; bottom: 6px; font-size: 11px; line-height: 1.2; direction: ltr; }
.map figcaption a { color: #8aa3cb; text-decoration: none; }
.map figcaption a:hover { color: var(--ice-hi); text-decoration: underline; }

.nav { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 16px; }
.navb { flex: 1 1 180px; display: inline-flex; align-items: center; justify-content: center; height: 56px; padding: 0 20px; border-radius: var(--r);
  background: var(--surface); border: 1px solid var(--field-line); color: var(--ink); font-weight: 700; text-decoration: none;
  transition: border-color .18s, color .18s, transform .14s var(--ease-out); }
.navb:hover { border-color: var(--ice); color: var(--ice-hi); }
.navb:active { transform: scale(.98); }
.shot { margin: 20px 0 0; }
.shot img { width: 100%; height: auto; aspect-ratio: 800 / 520; object-fit: cover; border-radius: var(--r); background: var(--surface); }
.leg .places { margin-top: 20px; }
.go-links { display: flex; flex-wrap: wrap; gap: 4px 16px; margin-top: 2px; font-size: var(--s-small); }

/* the machine: a 3:4 crop of the photo around its sticker panel */
.panel { margin-top: 20px; display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 20px; align-items: center; }
.at { position: relative; margin: 0; aspect-ratio: 3 / 4; overflow: hidden; border-radius: var(--r); background: var(--surface); }
.at img { position: absolute; max-width: none; width: 250%; height: auto; left: -79.69%; top: -1.64%; }  /* source crop x 255-575, y 7-434 of 800x520 */
.press li::before { display: grid; place-items: center; width: 24px; height: 24px; border-radius: var(--cube); background: var(--ice); color: var(--on-ice);
  font: 700 14px/1 var(--text); font-variant-numeric: tabular-nums; }
.press { display: grid; gap: 16px; counter-reset: p; }
.press li { position: relative; padding-inline-start: 36px; counter-increment: p; line-height: 1.45; }
.press li::before { content: counter(p); position: absolute; inset-inline-start: 0; top: 0; }
.press b { display: block; }
@media (max-width: 480px) { .panel { grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); gap: 16px; align-items: start; } }

.done > .perk-next { margin-top: 56px; max-width: 30em; }
.done > .perk-next b { color: var(--ice); }

/* ---------- everything else: one row at a time ---------- */
.more { margin-top: 96px; }
.more h2 { font-size: var(--s-h2); line-height: 1.15; margin-bottom: 12px; }
.q { border-bottom: 1px solid var(--rule); }  /* taste-skill-ignore: marks the tap area of each collapsible row */
.q summary { position: relative; list-style: none; cursor: pointer; padding: 20px 0 20px 40px; font: 700 var(--s-lead)/1.35 var(--text); transition: color .18s; }
.q summary::-webkit-details-marker { display: none; }
.q summary:hover { color: var(--ice-hi); }
/* plus that folds to a minus */
.q summary::before, .q summary::after { content: ""; position: absolute; left: 4px; top: 50%; width: 16px; height: 2px; margin-top: -1px; border-radius: 1px;
  background: var(--ice); transition: transform .3s var(--ease-out); }
.q summary::after { transform: rotate(90deg); }
.q[open] summary::after { transform: rotate(0); }
.a { padding: 0 0 24px; max-width: 52ch; }
.a > p + p { margin-top: 12px; }

.facts { display: grid; gap: 12px; }
.facts li { padding-inline-start: 20px; position: relative; }
.facts li::before { content: ""; position: absolute; inset-inline-start: 0; top: .6em; width: 8px; height: 8px; border-radius: var(--cube); background: var(--ice); }
.flow { display: grid; gap: 12px; counter-reset: s; }
.flow li { display: grid; grid-template-columns: 24px 1fr; gap: 8px; align-items: baseline; counter-increment: s; }
.flow li::before { content: counter(s); font-weight: 700; color: var(--ice); font-variant-numeric: tabular-nums; }

.places { display: grid; gap: 16px; }
.item { display: grid; grid-template-columns: 64px 1fr; gap: 16px; align-items: center; }
.item img { width: 64px; height: 64px; object-fit: cover; border-radius: var(--cube); background: var(--surface); }
.item h3 { font: 700 var(--s-body)/1.3 var(--text); }
.item p { font-size: var(--s-small); color: var(--soft); }
.note { margin-top: 16px; font-size: var(--s-small); color: var(--soft); }

/* ---------- footer ---------- */
.foot { margin-top: 96px; display: grid; gap: 16px; font-size: var(--s-small); color: var(--soft); }
.foot-logo img { width: 80px; height: auto; }
.foot ul { display: flex; flex-wrap: wrap; gap: 8px 24px; }
.foot a { text-decoration: none; color: var(--ink); }
.foot a:hover { text-decoration: underline; color: var(--ice-hi); }

/* ---------- phone ---------- */
@media (max-width: 860px) {
  .page { grid-template-columns: minmax(0, 1fr); }
  .stage { grid-column: 1; grid-row: auto; position: relative; top: 0; height: auto; min-height: 0; margin: 12px 12px 0; padding: 16px; }
  .club { width: min(280px, 100%); }
  form { margin-top: 24px; }
  .fields { gap: 16px; }
  .col { grid-row: auto; padding: 24px 20px 40px; }
  .col > .logo { display: none; }
  .col > * { margin-inline: auto; }
  .intro { margin-top: 0; }
  .more, .foot { margin-top: 72px; }
}

/* ---------- motion: the card is dealt once, digits drop in, rows unfold ---------- */
@media (prefers-reduced-motion: no-preference) {
  .js .club { animation: deal .9s var(--ease-out) .2s both; }
  .club-num b { display: inline-block; animation: pop .32s var(--ease-out); }
  /* the first screen settles in order: headline, line, then each part of the form */
  .js #formView > *, .js .fields > *, .js .checks > *, .js .go { animation: rise .5s var(--ease-out) backwards; }
  .js #formView > .lead { animation-delay: .07s; }
  .js #formView > .where { animation-delay: .1s; }
  /* the pin breathes once every few seconds, nothing else moves on the map */
  .map .pin::after { content: ""; position: absolute; inset: 0; border-radius: inherit; background: var(--ice); animation: ping 2.8s var(--ease-out) infinite; }
  .js #formView > form { animation: none; }
  .js .fields > :nth-child(1) { animation-delay: .14s; }
  .js .fields > :nth-child(2) { animation-delay: .21s; }
  .js .checks > :nth-child(1) { animation-delay: .28s; }
  .js .checks > :nth-child(2) { animation-delay: .35s; }
  .js .go { animation-delay: .42s; }
  @supports selector(::details-content) {
    :root { interpolate-size: allow-keywords; }
    .q::details-content { block-size: 0; overflow: clip; transition: block-size .4s var(--ease-out), content-visibility .4s allow-discrete; }
    .q[open]::details-content { block-size: auto; }
  }
}
@keyframes deal { from { opacity: 0; transform: translateY(-20px) rotate(-3deg); } to { opacity: 1; transform: none; } }
@keyframes rise { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }
@keyframes ping { from { transform: scale(1); opacity: .45; } 70%, to { transform: scale(2.6); opacity: 0; } }
@keyframes pop { from { transform: translateY(-6px); opacity: 0; } to { transform: none; opacity: 1; } }
@media (prefers-reduced-motion: reduce) {
  .tumble { animation: none; }
  .go, .store, .navb, .check input, .q summary::before, .q summary::after { transition: none; }
}

/* honeypot: off screen, skipped by keyboard and screen readers */
.hp { position: absolute; inset-inline-start: -9999px; width: 1px; height: 1px; overflow: hidden; }  /* taste-skill-ignore: off-screen honeypot box, not a rule */

/* shown only when the server runs against the Nayax test system */
.sandbox p { max-width: 68ch; margin: 0 auto; text-wrap: balance; }
.sandbox { margin: 0; padding: 10px 20px; background: #ffd84d; color: #10203a; font: 700 var(--s-small)/1.4 var(--text); text-align: center; }

/* ---------- legal pages: terms and privacy, one column, no script ---------- */
.skip { position: absolute; inset-inline-start: 12px; top: -80px; z-index: 5; padding: 10px 16px; border-radius: var(--r); background: var(--ink); color: var(--on-ice); font-weight: 700; text-decoration: none; }
.skip:focus { top: 12px; }
.legal-head { padding: 24px clamp(20px, 5vw, 48px) 0; max-width: 816px; margin: 0 auto; }
.legal { max-width: 816px; margin: 0 auto; padding: 24px clamp(20px, 5vw, 48px) 0; }
.legal .back { font-size: var(--s-small); }
.legal h1 { font-size: clamp(34px, 22px + 3.2vw, 60px); line-height: 1.05; margin-top: 24px; }
.legal .updated { margin-top: 12px; font-size: var(--s-small); color: var(--soft); }
.legal .lede { margin-top: 24px; font-size: var(--s-lead); line-height: 1.45; max-width: 36em; }
.legal h2 { font-family: Heebo, sans-serif; font-size: clamp(22px, 18px + 1.2vw, 28px); line-height: 1.25; margin-top: 44px; } /* long section headings: the display face is hard to read in bulk */
.legal p, .legal ul { margin-top: 12px; max-width: 62ch; }
.legal ul { display: grid; gap: 8px; }
.legal li { padding-inline-start: 20px; position: relative; }
.legal li::before { content: ""; position: absolute; inset-inline-start: 0; top: .6em; width: 8px; height: 8px; border-radius: var(--cube); background: var(--ice); }
.legal a { color: var(--ice); }
.legal a:hover { color: var(--ice-hi); }
.legal table { margin-top: 16px; width: 100%; max-width: 62ch; border-collapse: collapse; font-size: var(--s-small); }
.legal th, .legal td { text-align: start; vertical-align: top; padding: 10px 12px 10px 0; border-bottom: 1px solid var(--rule); }
.legal th { color: var(--soft); font-weight: 700; }
.legal-foot { max-width: 816px; margin: 72px auto 0; padding: 0 clamp(20px, 5vw, 48px) 48px; display: grid; gap: 12px; font-size: var(--s-small); color: var(--soft); }
.legal-foot ul { display: flex; flex-wrap: wrap; gap: 8px 24px; }
.legal-foot a { color: var(--ink); text-decoration: none; }
.legal-foot a:hover { text-decoration: underline; color: var(--ice-hi); }
