/* Coinbite website. Colours and type match the customer display's editorial style, dark and light
   (customer-display/web/editorial.css), with a Liquid Glass layer on top. */
:root {
  --paper: #131219; --ink: #efe9dc; --muted: #a6a1b1; --line: rgba(239, 233, 220, .16);
  --serif: "Bodoni Moda", "Didot", "Bodoni 72", "Playfair Display", Georgia, serif;
  --caps: "Jost", "Futura", "Avenir Next", "Helvetica Neue", system-ui, sans-serif;
  --paid: #1e5b3f; --amber: #f7931a;
  --glass: rgba(239, 233, 220, .055);
  --glass-strong: rgba(239, 233, 220, .09);
  --glass-edge: rgba(255, 255, 255, .14);
  --radius: 28px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0; background: var(--paper); color: var(--ink); font: 300 17px/1.6 var(--caps);
  -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
[hidden] { display: none !important; }
a { color: inherit; }
em { font-style: italic; }
b { font-weight: 500; }

/* ------------------------------------------------------------------ ambient light (gives the glass something to bend) */
.ambient { position: fixed; inset: 0; z-index: 0; overflow: hidden; pointer-events: none; }
.glow { position: absolute; border-radius: 50%; filter: blur(20px); will-change: transform; animation: drift 26s ease-in-out infinite alternate; }
.g1 { width: 60vmax; height: 60vmax; top: -22vmax; right: -18vmax; background: radial-gradient(circle, rgba(247, 147, 26, .20), transparent 62%); }
.g2 { width: 55vmax; height: 55vmax; bottom: -25vmax; left: -20vmax; background: radial-gradient(circle, rgba(166, 161, 177, .20), transparent 62%); animation-duration: 32s; animation-delay: -10s; }
.g3 { width: 40vmax; height: 40vmax; top: 40%; left: 40%; background: radial-gradient(circle, rgba(30, 91, 63, .28), transparent 62%); animation-duration: 38s; animation-delay: -18s; }
@keyframes drift {
  0% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(6vmax, 4vmax) scale(1.1); }
  100% { transform: translate(-5vmax, 8vmax) scale(.94); }
}
.giant {
  position: absolute; right: -6vw; top: 8vh; font-family: var(--serif); font-size: 78vmin; line-height: 1;
  color: transparent; -webkit-text-stroke: 1px rgba(239, 233, 220, .07);
}
.ambient::after { /* fine grain */
  content: ""; position: absolute; inset: 0; opacity: .5;
  background-image: radial-gradient(rgba(239, 233, 220, .05) 1px, transparent 1.4px); background-size: 26px 26px;
  -webkit-mask-image: radial-gradient(ellipse at 50% 30%, #000 10%, transparent 70%);
  mask-image: radial-gradient(ellipse at 50% 30%, #000 10%, transparent 70%);
}

/* ------------------------------------------------------------------ Liquid Glass */
.glass {
  position: relative; isolation: isolate;
  background: linear-gradient(155deg, var(--glass-strong), var(--glass) 45%, rgba(239, 233, 220, .03));
  -webkit-backdrop-filter: blur(22px) saturate(170%); backdrop-filter: blur(22px) saturate(170%);
  border: 1px solid var(--glass-edge); border-radius: var(--radius);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, .22),      /* top specular edge */
    inset 0 -1px 0 rgba(255, 255, 255, .04),
    inset 0 0 30px rgba(255, 255, 255, .03),
    0 30px 60px -30px rgba(0, 0, 0, .7);
}
.glass::before { /* soft highlight that follows the pointer (set in script.js) */
  content: ""; position: absolute; inset: 0; border-radius: inherit; z-index: -1; pointer-events: none;
  background: radial-gradient(420px circle at var(--mx, 30%) var(--my, 0%), rgba(255, 255, 255, .09), transparent 45%);
  transition: opacity .4s;
}

/* ------------------------------------------------------------------ nav */
.nav {
  position: fixed; z-index: 20; top: 16px; left: 50%; transform: translateX(-50%);
  width: min(1180px, calc(100% - 32px)); display: flex; align-items: center; justify-content: space-between;
  gap: 16px; padding: 10px 10px 10px 22px; border-radius: 999px;
}
.logo { display: flex; align-items: baseline; gap: 10px; text-decoration: none; }
.logo-mono { font-family: var(--serif); font-size: 30px; line-height: 1; }
.logo-name { font-size: 12px; letter-spacing: .32em; text-transform: uppercase; color: var(--muted); }
.links { display: flex; gap: clamp(16px, 3vw, 40px); }
.links a { text-decoration: none; font-size: 12px; font-weight: 400; letter-spacing: .24em; text-transform: uppercase; color: var(--muted); transition: color .2s; }
.links a:hover { color: var(--ink); }

/* ------------------------------------------------------------------ the order button */
.btn-order {
  --b: rgba(247, 147, 26, .9);
  position: relative; overflow: hidden; isolation: isolate; cursor: pointer;
  display: inline-flex; align-items: center; gap: 14px; padding: 20px 30px 20px 34px;
  border: 0; border-radius: 999px; color: #131219; font: 500 13px/1 var(--caps); letter-spacing: .22em; text-transform: uppercase;
  background: linear-gradient(180deg, #fbf7ee, #e4dccb);
  box-shadow:
    inset 0 1px 0 #fff, inset 0 -2px 6px rgba(28, 26, 41, .18),
    0 0 0 1px rgba(255, 255, 255, .35),
    0 18px 40px -12px rgba(247, 147, 26, .45),
    0 0 60px -10px rgba(247, 147, 26, .35);
  transition: transform .35s var(--ease), box-shadow .35s var(--ease);
}
.btn-order::before { /* a ring of light running around the edge */
  content: ""; position: absolute; inset: -2px; z-index: -2; border-radius: inherit;
  background: conic-gradient(from var(--a, 0deg), transparent 0 70%, var(--b) 80%, #fff 85%, transparent 92%);
  animation: spin 3.2s linear infinite;
}
.btn-order::after { content: ""; position: absolute; inset: 1.5px; z-index: -1; border-radius: inherit; background: linear-gradient(180deg, #fbf7ee, #e2d9c6); }
@property --a { syntax: "<angle>"; initial-value: 0deg; inherits: false; }
@keyframes spin { to { --a: 360deg; } }
.btn-shine {
  position: absolute; top: 0; bottom: 0; left: -60%; width: 40%; z-index: 0;
  background: linear-gradient(100deg, transparent, rgba(255, 255, 255, .85), transparent);
  transform: skewX(-20deg); animation: shine 4.5s var(--ease) infinite;
}
@keyframes shine { 0%, 60% { left: -60%; } 100% { left: 130%; } }
.btn-label, .btn-arrow { position: relative; z-index: 1; }
.btn-arrow { display: grid; place-items: center; width: 30px; height: 30px; margin: -8px -14px -8px 0; border-radius: 50%;
  background: #131219; color: var(--ink); font-size: 15px; letter-spacing: 0; transition: transform .35s var(--ease); }
.btn-order:hover { transform: translateY(-2px) scale(1.02); box-shadow: inset 0 1px 0 #fff, inset 0 -2px 6px rgba(28, 26, 41, .18), 0 0 0 1px rgba(255, 255, 255, .5), 0 24px 50px -12px rgba(247, 147, 26, .6), 0 0 90px -10px rgba(247, 147, 26, .5); }
.btn-order:hover .btn-arrow { transform: translateX(4px); }
.btn-order:active { transform: scale(.98); }
.btn-order.small { padding: 13px 22px; font-size: 11px; box-shadow: inset 0 1px 0 #fff, 0 0 0 1px rgba(255, 255, 255, .3), 0 8px 24px -10px rgba(247, 147, 26, .6); }
.btn-order.small::before { display: none; }
.btn-order.wide { width: 100%; justify-content: center; margin-top: 8px; }
.btn-ghost {
  display: inline-flex; align-items: center; padding: 19px 26px; border-radius: 999px; cursor: pointer; text-decoration: none;
  border: 1px solid var(--line); background: none; color: var(--ink); font: 400 12px/1 var(--caps); letter-spacing: .24em; text-transform: uppercase;
  transition: background .25s, border-color .25s;
}
.btn-ghost:hover { background: rgba(239, 233, 220, .06); border-color: rgba(239, 233, 220, .35); }

/* ------------------------------------------------------------------ layout */
main { position: relative; z-index: 1; }
.section, .hero, .strip, .final { width: min(1180px, calc(100% - 32px)); margin: 0 auto; }
.section { padding: clamp(80px, 12vh, 140px) 0 0; }
.eyebrow { margin: 0 0 14px; font-size: 12px; font-weight: 400; letter-spacing: .32em; text-transform: uppercase; color: var(--muted); }
.h2 { margin: 0 0 48px; font: 400 clamp(36px, 5.4vw, 68px)/1.05 var(--serif); letter-spacing: -.02em; max-width: 16ch; }
.h2 em, .h3 em, .headline em { color: #fff; }
.h3 { margin: 0 0 22px; font: 400 clamp(28px, 4vw, 40px)/1.1 var(--serif); letter-spacing: -.01em; }

/* ------------------------------------------------------------------ hero */
.hero {
  min-height: 100vh; min-height: 100svh; padding: 140px 0 60px;
  display: grid; grid-template-columns: 1.25fr .9fr; gap: clamp(32px, 5vw, 80px); align-items: center;
}
.kicker { margin: 0 0 22px; font-size: 13px; letter-spacing: .3em; text-transform: uppercase; color: var(--muted); }
.headline { margin: 0; font: 400 clamp(46px, 7.2vw, 104px)/1 var(--serif); letter-spacing: -.03em; }
.headline em { display: inline-block; background: linear-gradient(100deg, #fff 20%, #f7c27a 50%, #fff 80%); background-size: 220% 100%;
  -webkit-background-clip: text; background-clip: text; color: transparent; animation: sheen 7s ease-in-out infinite; padding-right: .06em; }
@keyframes sheen { 0%, 100% { background-position: 100% 0; } 50% { background-position: 0 0; } }
.lede { max-width: 34em; margin: 30px 0 40px; font-size: clamp(16px, 1.4vw, 19px); color: var(--muted); }
.lede b { color: var(--ink); }
.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }

/* device replica */
.device { border-radius: 34px; padding: 22px 26px 30px; min-height: 520px; overflow: hidden; transform: perspective(1400px) rotateY(-6deg) rotateX(3deg); transition: transform .8s var(--ease); }
.device:hover { transform: perspective(1400px) rotateY(0) rotateX(0); }
.device-top { display: flex; justify-content: space-between; align-items: center; padding-bottom: 14px; border-bottom: 1px solid var(--line); }
.d-mono { font-family: var(--serif); font-size: 34px; line-height: 1; }
.d-links { display: flex; gap: 16px; font-size: 10px; letter-spacing: .22em; text-transform: uppercase; font-variant-numeric: tabular-nums; }
.device-body { display: flex; flex-direction: column; align-items: center; text-align: center; padding-top: 28px; }
.d-label { margin: 0; font-size: 11px; letter-spacing: .3em; text-transform: uppercase; color: var(--muted); }
.d-amount { margin: 4px 0 0; font: 400 clamp(54px, 6vw, 76px)/1.05 var(--serif); letter-spacing: -.03em; font-variant-numeric: lining-nums; }
.d-amount .cur { font: 300 .34em var(--caps); vertical-align: .95em; margin-right: .12em; }
.d-btc { margin: 6px 0 22px; padding-top: 8px; border-top: 1px solid var(--line); font-size: 14px; letter-spacing: .18em; }
.d-qr { padding: 12px; border: 1px solid var(--line); }
.d-qr canvas { display: block; width: 132px; height: 132px; background: #fff; padding: 8px; }
.d-exact { margin: 18px 0 10px; font: italic 15px var(--serif); border-left: 2px solid var(--ink); padding-left: 12px; }
.d-timer { width: 200px; height: 2px; background: var(--line); }
.d-timer i { display: block; height: 100%; width: 100%; background: var(--ink); transform-origin: left; }
.device-paid {
  position: absolute; inset: 0; z-index: 2; display: flex; flex-direction: column; align-items: center; justify-content: center;
  background: var(--paid); color: #f2ede3; opacity: 0; transition: opacity .7s var(--ease); pointer-events: none; border-radius: inherit;
}
.device.paid .device-paid { opacity: 1; }
.d-paid-label { margin: 0; font-size: 12px; font-weight: 500; letter-spacing: .34em; text-transform: uppercase; opacity: .85; }
.d-paid-big { margin: 8px 0 0; font: italic 400 64px/1 var(--serif); }

/* ------------------------------------------------------------------ strip */
.strip { display: grid; grid-template-columns: repeat(4, 1fr); padding: 30px 10px; }
.strip > div { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 6px; padding: 0 12px; }
.strip > div + div { border-left: 1px solid var(--line); }
.strip b { font: 400 44px/1 var(--serif); }
.strip span { font-size: 11px; letter-spacing: .24em; text-transform: uppercase; color: var(--muted); }

/* ------------------------------------------------------------------ cards */
.card { padding: 34px 30px; }
.card h3 { margin: 0 0 12px; font: 400 26px/1.15 var(--serif); }
.card p { margin: 0; color: var(--muted); font-size: 16px; }
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.num { display: block; margin-bottom: 40px; font: italic 400 52px/1 var(--serif); color: rgba(239, 233, 220, .4); }
.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.grid .card h3::before { content: ""; display: block; width: 28px; height: 1px; margin-bottom: 22px; background: var(--ink); opacity: .6; }

/* ------------------------------------------------------------------ story */
.story-grid { display: grid; grid-template-columns: .8fr 1.4fr; gap: clamp(32px, 6vw, 90px); align-items: start; }
.portrait { padding: 16px 16px 24px; position: sticky; top: 110px; }
.portrait-img {
  aspect-ratio: 4 / 5; border-radius: 18px; display: grid; place-items: center;
  background: radial-gradient(circle at 30% 20%, rgba(247, 147, 26, .25), transparent 55%), linear-gradient(160deg, #1d1b26, #0d0c12);
  border: 1px dashed rgba(239, 233, 220, .25);
}
.portrait-img span { font: italic 400 96px/1 var(--serif); color: rgba(239, 233, 220, .5); }
.portrait-name { margin: 18px 4px 0; font: 400 28px/1.1 var(--serif); }
.portrait-role { margin: 4px 4px 0; font-size: 11px; letter-spacing: .28em; text-transform: uppercase; color: var(--muted); }
.story-text > p:not(.eyebrow) { max-width: 36em; color: var(--muted); font-size: 18px; }
.timeline { list-style: none; margin: 48px 0 0; padding: 0; border-left: 1px solid var(--line); }
.timeline li { position: relative; display: grid; grid-template-columns: 170px 1fr; gap: 16px; padding: 0 0 28px 30px; }
.timeline li::before { content: ""; position: absolute; left: -5px; top: 8px; width: 9px; height: 9px; border-radius: 50%; background: var(--paper); border: 1px solid var(--ink); }
.timeline li:last-child::before { background: var(--amber); border-color: var(--amber); box-shadow: 0 0 14px var(--amber); }
.t-date { font-size: 12px; letter-spacing: .26em; text-transform: uppercase; padding-top: 3px; }
.t-what { color: var(--muted); }

/* placeholders for facts Samuel still has to fill in */
mark.ph { background: rgba(247, 147, 26, .12); color: #f7c27a; border: 1px dashed rgba(247, 147, 26, .5); border-radius: 6px; padding: 1px 6px; font-style: normal; }

/* ------------------------------------------------------------------ FAQ */
.faq { display: grid; gap: 12px; max-width: 880px; }
.faq details { border-radius: 22px; padding: 0 28px; }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; gap: 20px; padding: 24px 0; font: 400 22px/1.25 var(--serif); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font: 300 26px/1 var(--caps); color: var(--muted); transition: transform .35s var(--ease); }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { margin: 0 0 24px; color: var(--muted); max-width: 46em; }

/* ------------------------------------------------------------------ final */
.final { margin-top: clamp(90px, 14vh, 160px); padding: clamp(56px, 9vw, 110px) 24px; text-align: center; border-radius: 40px; display: flex; flex-direction: column; align-items: center; }
.final .h2 { max-width: 18ch; margin-left: auto; margin-right: auto; }
.foot { position: relative; z-index: 1; width: min(1180px, calc(100% - 32px)); margin: 70px auto 0; padding: 22px 0 40px; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap;
  border-top: 1px solid var(--line); font-size: 11px; letter-spacing: .3em; text-transform: uppercase; color: var(--muted); }

/* ------------------------------------------------------------------ modal */
.modal { position: fixed; inset: 0; z-index: 50; display: grid; place-items: center; padding: 16px; }
.modal-back { position: absolute; inset: 0; background: rgba(10, 9, 14, .55); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); animation: fade .3s; }
.modal-card { width: min(520px, 100%); max-height: calc(100vh - 32px); overflow: auto; padding: 36px 32px 28px; background: linear-gradient(155deg, rgba(40, 38, 50, .75), rgba(19, 18, 25, .7)); animation: pop .45s var(--ease); }
@keyframes fade { from { opacity: 0; } }
@keyframes pop { from { opacity: 0; transform: translateY(16px) scale(.97); } }
.modal label { display: block; margin-bottom: 14px; font-size: 11px; letter-spacing: .24em; text-transform: uppercase; color: var(--muted); }
.modal input, .modal select, .modal textarea, .chat-input input {
  display: block; width: 100%; margin-top: 7px; padding: 13px 16px; border-radius: 14px; border: 1px solid var(--line);
  background: rgba(239, 233, 220, .05); color: var(--ink); font: 300 16px var(--caps); letter-spacing: 0; text-transform: none; outline: none;
  transition: border-color .2s, background .2s;
}
.modal select option { background: #1c1a24; }
.modal input:focus, .modal select:focus, .modal textarea:focus, .chat-input input:focus { border-color: rgba(239, 233, 220, .45); background: rgba(239, 233, 220, .08); }
.row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.fine { margin: 14px 0 0; text-align: center; font-size: 13px; color: var(--muted); }
.x { position: absolute; top: 14px; right: 16px; width: 36px; height: 36px; border-radius: 50%; border: 1px solid var(--line); background: none; color: var(--ink); font-size: 22px; line-height: 1; cursor: pointer; }
.done { text-align: center; }
.done p { color: var(--muted); }

/* ------------------------------------------------------------------ chat */
.chat { position: fixed; z-index: 40; right: 20px; bottom: 20px; }
.chat-fab { display: flex; align-items: center; gap: 10px; padding: 15px 22px; border-radius: 999px; cursor: pointer; color: var(--ink);
  font: 400 12px/1 var(--caps); letter-spacing: .22em; text-transform: uppercase; }
.dot { display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: #4ade80; box-shadow: 0 0 10px #4ade80; animation: pulse 2s infinite; }
@keyframes pulse { 50% { opacity: .45; } }
.chat-panel { position: absolute; right: 0; bottom: 0; width: min(380px, calc(100vw - 32px)); height: min(560px, calc(100vh - 40px));
  display: flex; flex-direction: column; overflow: hidden; border-radius: 26px; background: linear-gradient(155deg, rgba(40, 38, 50, .9), rgba(19, 18, 25, .92)); animation: pop .4s var(--ease); }
.chat-head { display: flex; justify-content: space-between; align-items: center; padding: 18px 20px; border-bottom: 1px solid var(--line); }
.chat-head .x { position: static; }
.chat-title { margin: 0; font: 400 22px/1.1 var(--serif); }
.chat-sub { margin: 4px 0 0; display: flex; align-items: center; gap: 8px; font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.chat-log { flex: 1; overflow-y: auto; padding: 18px 16px; display: flex; flex-direction: column; gap: 10px; }
.msg { max-width: 85%; padding: 11px 15px; border-radius: 18px; font-size: 15px; line-height: 1.45; animation: pop .35s var(--ease); }
.msg.bot { align-self: flex-start; background: rgba(239, 233, 220, .08); border: 1px solid var(--line); border-bottom-left-radius: 6px; }
.msg.me { align-self: flex-end; background: var(--ink); color: #131219; border-bottom-right-radius: 6px; }
.msg.typing { color: var(--muted); letter-spacing: .3em; }
.chat-quick { display: flex; flex-wrap: wrap; gap: 8px; padding: 0 16px 12px; }
.chat-quick button { padding: 8px 13px; border-radius: 999px; border: 1px solid var(--line); background: rgba(239, 233, 220, .04); color: var(--ink); font: 300 13px var(--caps); cursor: pointer; }
.chat-quick button:hover { background: rgba(239, 233, 220, .1); }
.chat-input { display: flex; gap: 8px; padding: 12px 14px 14px; border-top: 1px solid var(--line); }
.chat-input input { margin: 0; border-radius: 999px; }
.chat-input button { flex: none; width: 46px; border-radius: 50%; border: 0; background: var(--ink); color: #131219; font-size: 18px; cursor: pointer; }

/* ------------------------------------------------------------------ reveal on scroll */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.device.reveal.in { transform: perspective(1400px) rotateY(-6deg) rotateX(3deg); }
.device.reveal.in:hover { transform: perspective(1400px) rotateY(0) rotateX(0); }

/* ------------------------------------------------------------------ smaller screens */
@media (max-width: 1000px) {
  .hero { grid-template-columns: 1fr; padding-top: 120px; }
  .device, .device.reveal.in { transform: none; max-width: 420px; width: 100%; margin: 0 auto; }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .grid { grid-template-columns: repeat(2, 1fr); }
  .story-grid { grid-template-columns: 1fr; }
  .portrait { position: static; max-width: 340px; }
}
@media (max-width: 720px) {
  .links { display: none; }
  .nav { padding-left: 18px; }
  .strip { grid-template-columns: repeat(2, 1fr); gap: 24px 0; }
  .strip > div:nth-child(3) { border-left: 0; }
  .steps, .grid { grid-template-columns: 1fr; }
  .timeline li { grid-template-columns: 1fr; gap: 2px; }
  .btn-order { padding: 18px 24px 18px 26px; font-size: 12px; letter-spacing: .16em; }
  .hero-cta { flex-direction: column; align-items: stretch; }
  .hero-cta .btn-order, .hero-cta .btn-ghost { justify-content: center; }
  .row { grid-template-columns: 1fr; }
  .faq details { padding: 0 20px; }
  .faq summary { font-size: 19px; }
  .chat { right: 16px; bottom: 16px; }
}

/* ------------------------------------------------------------------ theme switch */
.nav-right { display: flex; align-items: center; gap: 10px; }
.theme-btn {
  display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; cursor: pointer;
  border: 1px solid var(--line); background: none; color: var(--ink); transition: background .25s, transform .5s var(--ease);
}
.theme-btn:hover { background: rgba(239, 233, 220, .08); transform: rotate(-20deg); }
.theme-btn svg { width: 18px; height: 18px; }
.theme-btn .sun { display: none; }
html[data-theme="light"] .theme-btn .sun { display: block; }
html[data-theme="light"] .theme-btn .moon { display: none; }
body, .glass, .nav, .card, .faq details { transition: background-color .5s var(--ease), color .5s var(--ease), border-color .5s var(--ease); }

/* ------------------------------------------------------------------ light theme
   The customer display's editorial light palette (warm paper, ink), with frosted white glass. */
html[data-theme="light"] {
  --paper: #f2ede3; --ink: #1c1a29; --muted: #6f6a7b; --line: rgba(28, 26, 41, .16);
  --glass: rgba(255, 255, 255, .38);
  --glass-strong: rgba(255, 255, 255, .62);
  --glass-edge: rgba(255, 255, 255, .85);
  color-scheme: light;
}
html[data-theme="light"] .g1 { background: radial-gradient(circle, rgba(247, 147, 26, .28), transparent 62%); }
html[data-theme="light"] .g2 { background: radial-gradient(circle, rgba(140, 130, 170, .30), transparent 62%); }
html[data-theme="light"] .g3 { background: radial-gradient(circle, rgba(30, 91, 63, .18), transparent 62%); }
html[data-theme="light"] .giant { -webkit-text-stroke-color: rgba(28, 26, 41, .08); }
html[data-theme="light"] .ambient::after { background-image: radial-gradient(rgba(28, 26, 41, .07) 1px, transparent 1.4px); }
html[data-theme="light"] .glass {
  background: linear-gradient(155deg, var(--glass-strong), var(--glass) 45%, rgba(255, 255, 255, .22));
  box-shadow:
    inset 0 1px 0 #fff,
    inset 0 -1px 0 rgba(28, 26, 41, .05),
    inset 0 0 30px rgba(255, 255, 255, .35),
    0 30px 60px -30px rgba(60, 45, 20, .35);
}
html[data-theme="light"] .glass::before { background: radial-gradient(420px circle at var(--mx, 30%) var(--my, 0%), rgba(255, 255, 255, .7), transparent 45%); }
html[data-theme="light"] .h2 em, html[data-theme="light"] .h3 em { color: #000; }
html[data-theme="light"] .headline em { background-image: linear-gradient(100deg, #1c1a29 20%, #c46a00 50%, #1c1a29 80%); }
html[data-theme="light"] .num { color: rgba(28, 26, 41, .32); }

/* the order button turns to ink on paper, with the same running ring of light */
html[data-theme="light"] .btn-order {
  color: #f2ede3; background: linear-gradient(180deg, #2b2838, #131219);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .18), 0 0 0 1px rgba(28, 26, 41, .4),
    0 18px 40px -12px rgba(247, 147, 26, .55), 0 0 60px -10px rgba(247, 147, 26, .35);
}
html[data-theme="light"] .btn-order::after { background: linear-gradient(180deg, #2b2838, #131219); }
html[data-theme="light"] .btn-shine { background: linear-gradient(100deg, transparent, rgba(255, 255, 255, .25), transparent); }
html[data-theme="light"] .btn-arrow { background: #f2ede3; color: #131219; }
html[data-theme="light"] .btn-ghost:hover, html[data-theme="light"] .theme-btn:hover { background: rgba(28, 26, 41, .05); border-color: rgba(28, 26, 41, .35); }

html[data-theme="light"] .portrait-img {
  background: radial-gradient(circle at 30% 20%, rgba(247, 147, 26, .25), transparent 55%), linear-gradient(160deg, #fbf8f1, #e6dfd0);
  border-color: rgba(28, 26, 41, .25);
}
html[data-theme="light"] .portrait-img span { color: rgba(28, 26, 41, .4); }
html[data-theme="light"] mark.ph { color: #9a5200; background: rgba(247, 147, 26, .14); }

html[data-theme="light"] .modal-back { background: rgba(242, 237, 227, .5); }
html[data-theme="light"] .modal-card,
html[data-theme="light"] .chat-panel { background: linear-gradient(155deg, rgba(255, 255, 255, .88), rgba(242, 237, 227, .92)); }
html[data-theme="light"] .modal input, html[data-theme="light"] .modal select, html[data-theme="light"] .modal textarea,
html[data-theme="light"] .chat-input input { background: rgba(255, 255, 255, .6); }
html[data-theme="light"] .modal input:focus, html[data-theme="light"] .modal select:focus, html[data-theme="light"] .modal textarea:focus,
html[data-theme="light"] .chat-input input:focus { border-color: rgba(28, 26, 41, .45); background: #fff; }
html[data-theme="light"] .modal select option { background: #fff; }
html[data-theme="light"] .msg.bot { background: rgba(255, 255, 255, .7); }
html[data-theme="light"] .msg.me, html[data-theme="light"] .chat-input button { color: #f2ede3; }
html[data-theme="light"] .chat-quick button { background: rgba(255, 255, 255, .5); }
html[data-theme="light"] .chat-quick button:hover { background: #fff; }
html[data-theme="light"] .dot { background: #16a34a; box-shadow: 0 0 8px rgba(22, 163, 74, .6); }

/* ------------------------------------------------------------------ live price */
.live-price { display: inline-flex; align-items: center; gap: 10px; margin: -6px 0 26px; padding: 9px 16px; border-radius: 999px;
  font-size: 11px; letter-spacing: .22em; text-transform: uppercase; color: var(--muted); }
.live-price b { color: var(--ink); font-weight: 500; letter-spacing: .08em; font-variant-numeric: tabular-nums; }

/* ------------------------------------------------------------------ marquee */
.marquee { position: relative; z-index: 1; margin-top: clamp(60px, 9vh, 100px); overflow: hidden; border-block: 1px solid var(--line);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); }
.marquee-track { display: flex; align-items: center; gap: 36px; width: max-content; padding: 22px 0; animation: marquee 40s linear infinite; }
.marquee span { font: italic 400 clamp(24px, 3vw, 38px)/1 var(--serif); white-space: nowrap; }
.marquee i { font-style: normal; font-family: var(--serif); font-size: 22px; color: var(--amber); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ------------------------------------------------------------------ "your restaurant" preview */
.try-grid { display: grid; grid-template-columns: .9fr 1.3fr; gap: 24px; align-items: stretch; }
.try-form { padding: 36px 32px; display: flex; flex-direction: column; gap: 16px; }
.try-form label { font-size: 11px; letter-spacing: .26em; text-transform: uppercase; color: var(--muted); }
.try-form input { width: 100%; padding: 14px 0; border: 0; border-bottom: 1px solid var(--line); background: none; color: var(--ink);
  font: 400 clamp(30px, 3.4vw, 42px)/1.1 var(--serif); outline: none; transition: border-color .25s; }
.try-form input:focus { border-color: var(--ink); }
.try-form input::placeholder { color: var(--muted); opacity: .55; }
.try-form p { margin: 0 0 8px; color: var(--muted); }
.try-form .btn-order { align-self: flex-start; margin-top: auto; }
.try-preview { display: grid; grid-template-columns: 1.5fr 1fr; gap: 18px; align-items: center; }
.welcome { min-height: 340px; padding: 20px 24px; display: flex; flex-direction: column; border-radius: 26px; }
.welcome-top { display: flex; justify-content: space-between; align-items: center; }
.w-mono { font: 400 34px/1 var(--serif); letter-spacing: -.04em; }
.w-links { display: flex; gap: 14px; font-size: 10px; letter-spacing: .22em; text-transform: uppercase; }
.w-kicker { margin: auto 0 6px; font-size: 13px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.w-kicker span { color: var(--ink); }
.w-word { margin: 0 0 auto; font: 400 clamp(46px, 5.4vw, 72px)/1.05 var(--serif); letter-spacing: -.02em; white-space: nowrap; min-height: 1.1em; }
.w-caret { display: inline-block; width: 2px; height: .8em; margin-left: .05em; vertical-align: -.04em; background: currentColor; opacity: .55; animation: blink 1.1s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }
.w-foot { display: flex; justify-content: space-between; padding-top: 10px; border-top: 1px solid var(--line); font-size: 10px; letter-spacing: .3em; text-transform: uppercase; color: var(--muted); }
.sticker {
  aspect-ratio: 1; border-radius: 50%; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; gap: 6px; padding: 18px;
  background: radial-gradient(circle at 30% 25%, #ffb347, #f7931a 45%, #c96d00); color: #fff;
  box-shadow: inset 0 2px 0 rgba(255, 255, 255, .5), inset 0 -6px 18px rgba(120, 50, 0, .35), 0 24px 50px -18px rgba(247, 147, 26, .7);
  transform: rotate(-8deg); animation: bob 6s ease-in-out infinite;
}
@keyframes bob { 50% { transform: rotate(-4deg) translateY(-6px); } }
.s-coin { font: 400 40px/1 var(--serif); }
.s-big { font: 500 13px/1.25 var(--caps); letter-spacing: .2em; text-transform: uppercase; }
.s-name { max-width: 100%; font: italic 400 20px/1.1 var(--serif); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.s-by { font-size: 8px; letter-spacing: .26em; text-transform: uppercase; opacity: .85; }

/* ------------------------------------------------------------------ onboarding */
.onboard { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; border-top: 1px solid var(--line); }
.onboard li { position: relative; padding: 34px 24px 0 0; }
.onboard li::before { content: ""; position: absolute; top: -5px; left: 0; width: 9px; height: 9px; border-radius: 50%; background: var(--paper); border: 1px solid var(--ink); }
.onboard li:last-child::before { background: var(--amber); border-color: var(--amber); box-shadow: 0 0 14px var(--amber); }
.o-num { display: block; font: italic 400 46px/1 var(--serif); color: var(--muted); margin-bottom: 14px; }
.onboard h3 { margin: 0 0 8px; font: 400 26px/1.15 var(--serif); }
.onboard p { margin: 0; color: var(--muted); font-size: 16px; }

/* ------------------------------------------------------------------ WhatsApp */
.wa-fab {
  position: fixed; z-index: 40; left: 20px; bottom: 20px; width: 58px; height: 58px; border-radius: 50%; display: grid; place-items: center;
  color: #fff; background: radial-gradient(circle at 30% 25%, #4ee281, #25d366 50%, #128c4b);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .55), 0 0 0 1px rgba(255, 255, 255, .25), 0 14px 34px -10px rgba(37, 211, 102, .7);
  transition: transform .35s var(--ease);
}
.wa-fab::after { content: ""; position: absolute; inset: -6px; border-radius: 50%; border: 1px solid rgba(37, 211, 102, .6); animation: ring 2.4s ease-out infinite; }
@keyframes ring { from { transform: scale(.9); opacity: 1; } to { transform: scale(1.35); opacity: 0; } }
.wa-fab:hover { transform: scale(1.08) rotate(-6deg); }
.wa-fab svg { width: 30px; height: 30px; }
.wa-inline { color: #25d366; }
.fine.err { color: #e07b6a; }
.fine.err a { color: #25d366; }
.btn-order:disabled { opacity: .7; cursor: wait; }
html[data-theme="light"] .fine.err { color: #9b2c1c; }
html[data-theme="light"] .wa-inline, html[data-theme="light"] .fine.err a { color: #128c4b; }

@media (max-width: 1000px) {
  .try-grid { grid-template-columns: 1fr; }
  .onboard { grid-template-columns: repeat(2, 1fr); row-gap: 40px; border-top: 0; }
  .onboard li { border-top: 1px solid var(--line); }
}
@media (max-width: 720px) {
  .try-preview { grid-template-columns: 1fr; }
  .sticker { width: 200px; margin: 0 auto; }
  .welcome { min-height: 280px; }
  .onboard { grid-template-columns: 1fr; }
  .wa-fab { left: 16px; bottom: 16px; width: 54px; height: 54px; }
  .try-form .btn-order { align-self: stretch; justify-content: center; }
}

/* ------------------------------------------------------------------ photo + manifesto */
img.portrait-img { display: block; width: 100%; object-fit: cover; object-position: 50% 30%; border-style: solid; border-color: var(--glass-edge); }
.manifesto { position: relative; z-index: 1; width: min(1000px, calc(100% - 32px)); margin: 0 auto; padding: clamp(90px, 14vh, 160px) 0 0; text-align: center; }
.manifesto blockquote { margin: 0; font: 400 clamp(30px, 4.4vw, 58px)/1.18 var(--serif); letter-spacing: -.015em; }
.manifesto blockquote em { display: block; margin: .25em 0; background: linear-gradient(100deg, var(--ink) 15%, #f7c27a 50%, var(--ink) 85%); background-size: 220% 100%;
  -webkit-background-clip: text; background-clip: text; color: transparent; animation: sheen 8s ease-in-out infinite; }
html[data-theme="light"] .manifesto blockquote em { background-image: linear-gradient(100deg, #1c1a29 15%, #c46a00 50%, #1c1a29 80%); }
.foot a { text-transform: none; letter-spacing: .08em; text-decoration: none; color: var(--ink); }

/* ------------------------------------------------------------------ Bitcoin mark, small WhatsApp, footer clearance */
.coin { display: block; width: 100%; height: 100%; }
.logo { align-items: center; }
.logo-mono { width: 30px; height: 30px; }
.d-mono { width: 30px; height: 30px; }
.m-dot { width: 7px; height: 7px; flex: none; border-radius: 50%; background: var(--amber); box-shadow: 0 0 10px rgba(247, 147, 26, .7); }
.s-coin { width: 46px; height: 46px; color: #fff; }

.chat { display: flex; align-items: center; gap: 10px; }
.chat:has(.chat-panel:not([hidden])) .wa-fab { display: none; }
.wa-fab {
  position: relative; inset: auto; width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center;
  color: #25d366; transition: transform .35s var(--ease);
  background: linear-gradient(155deg, var(--glass-strong), var(--glass) 45%, rgba(239, 233, 220, .03));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .22), 0 14px 30px -16px rgba(0, 0, 0, .7);
}
.wa-fab::after { display: none; }
.wa-fab svg { width: 22px; height: 22px; }
.wa-fab:hover { transform: scale(1.06); }
html[data-theme="light"] .wa-fab { color: #128c4b; }
.foot { padding-bottom: 110px; }
@media (max-width: 720px) {
  .wa-fab { left: auto; bottom: auto; width: 46px; height: 46px; }
}
html[data-theme="light"] .wa-fab { background: linear-gradient(155deg, var(--glass-strong), var(--glass)); box-shadow: inset 0 1px 0 #fff, 0 14px 30px -16px rgba(60, 45, 20, .35); }
.btn-order.small { white-space: nowrap; }
@media (max-width: 720px) {
  .btn-order.small { padding: 12px 16px; letter-spacing: .14em; }
  .btn-order { letter-spacing: .1em; }
  .logo-name { display: none; }
}
@media (max-width: 720px) { .btn-order .long { display: none; } }
/* smaller, wider founder photo */
img.portrait-img { aspect-ratio: 55 / 48; }
.portrait { max-width: 320px; }
/* editorial black-and-white portrait that warms to colour on hover */
img.portrait-img { filter: grayscale(1) contrast(1.08) brightness(1.03) sepia(.12); transition: filter .8s var(--ease); }
.portrait:hover img.portrait-img { filter: none; }

/* poster-style avatar made from the founder photo (filter #avatar in index.html); hover shows the real photo */
img.portrait-img { filter: url(#avatar); }
.portrait:hover img.portrait-img { filter: none; }
img.portrait-img { aspect-ratio: 550 / 435; }
/* round avatar */
img.portrait-img { aspect-ratio: 1; width: 86%; margin: 6px auto 0; border-radius: 50%; border: 0; box-shadow: 0 0 0 1px var(--glass-edge), 0 0 0 6px rgba(247, 147, 26, .14); }
.portrait { text-align: center; }

/* ------------------------------------------------------------------ final polish */
.hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
:focus-visible { outline: 2px solid var(--amber); outline-offset: 3px; }
.foot a { padding: 8px 0; }
@media (max-width: 720px) {
  img.portrait-img { width: 62%; }
  .portrait { max-width: none; }
  .chat-fab { padding: 13px 16px; font-size: 11px; letter-spacing: .16em; }
  .wa-fab { width: 42px; height: 42px; }
}
/* keep the order button on the first screen of a computer */
@media (min-width: 1001px) {
  .hero { padding: 104px 0 40px; grid-template-columns: 1.45fr .85fr; }
  .headline { font-size: clamp(46px, min(5.6vw, 8.8vh), 96px); }
  .kicker { margin-bottom: 12px; }
  .live-price { margin: 0 0 16px; }
  .lede { margin: 18px 0 24px; }
  .device { min-height: 0; }
  .d-qr canvas { width: 112px; height: 112px; }
  .device-body { padding-top: 16px; }
}
.headline, .h2, .manifesto blockquote { text-wrap: balance; }

/* ------------------------------------------------------------------ language switch */
.lang-btn { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; border: 1px solid var(--line); color: var(--ink); text-decoration: none; font-size: 12px; font-weight: 400; letter-spacing: .06em; transition: background .25s; }
.lang-btn:hover { background: rgba(239, 233, 220, .08); }
html[data-theme="light"] .lang-btn:hover { background: rgba(28, 26, 41, .05); }

/* ------------------------------------------------------------------ Hebrew: fonts
   Bodoni and Jost have no Hebrew letters. Hebrew has no capitals or true italics, so tracking is
   dropped and emphasis comes from colour. */
html[lang="he"] { --serif: "Frank Ruhl Libre", "David Libre", "Times New Roman", serif; --caps: "Heebo", "Arial Hebrew", system-ui, sans-serif; }
html[lang="he"] em, html[lang="he"] .chat-title, html[lang="he"] .d-exact, html[lang="he"] .d-paid-big { font-style: normal; }
html[lang="he"] .h2 em, html[lang="he"] .h3 em { color: #f7c27a; }
html[lang="he"][data-theme="light"] .h2 em, html[lang="he"][data-theme="light"] .h3 em { color: #a85a00; }
html[lang="he"] .marquee span, html[lang="he"] .num, html[lang="he"] .o-num, html[lang="he"] .s-name { font-style: normal; }
html[lang="he"] .headline, html[lang="he"] .h2, html[lang="he"] .h3, html[lang="he"] .manifesto blockquote, html[lang="he"] .w-word { letter-spacing: -.01em; }
html[lang="he"] .links a, html[lang="he"] .logo-name:not(:lang(he)), html[lang="he"] .btn-order, html[lang="he"] .btn-ghost,
html[lang="he"] .eyebrow, html[lang="he"] .kicker, html[lang="he"] .live-price, html[lang="he"] .d-links, html[lang="he"] .d-label,
html[lang="he"] .d-paid-label, html[lang="he"] .strip span, html[lang="he"] .portrait-role, html[lang="he"] .t-date,
html[lang="he"] .foot, html[lang="he"] .modal label, html[lang="he"] .try-form label, html[lang="he"] .w-kicker, html[lang="he"] .w-links,
html[lang="he"] .w-foot, html[lang="he"] .s-big, html[lang="he"] .s-by, html[lang="he"] .chat-fab, html[lang="he"] .chat-sub { letter-spacing: .02em; }
html[lang="he"] .links a, html[lang="he"] .eyebrow, html[lang="he"] .btn-ghost, html[lang="he"] .chat-fab, html[lang="he"] .t-date { font-size: 14px; }
html[lang="he"] .kicker, html[lang="he"] .strip span, html[lang="he"] .portrait-role { font-size: 14px; }
html[lang="he"] .btn-order { font-size: 15px; }
html[lang="he"] .btn-order.small { font-size: 13px; }
html[lang="he"] .modal label, html[lang="he"] .try-form label { font-size: 13px; }
html[lang="he"] .d-label, html[lang="he"] .d-links, html[lang="he"] .w-links, html[lang="he"] .w-foot, html[lang="he"] .live-price { font-size: 12px; }
html[lang="he"] .s-big { font-size: 15px; }
html[lang="he"] .s-by { font-size: 10px; }
html[lang="he"] .logo-name { letter-spacing: .32em; }

/* ------------------------------------------------------------------ Hebrew: right-to-left layout */
html[dir="rtl"] .nav { padding: 10px 22px 10px 10px; }
html[dir="rtl"] .btn-order { padding: 20px 34px 20px 30px; }
html[dir="rtl"] .btn-arrow { margin: -8px 0 -8px -14px; }
html[dir="rtl"] .btn-order:hover .btn-arrow { transform: translateX(-4px); }
html[dir="rtl"] .btn-order.small { padding: 13px 22px; }
html[dir="rtl"] .d-exact { border-left: 0; padding-left: 0; border-right: 2px solid var(--ink); padding-right: 12px; }
/* numbers read left to right even inside Hebrew */
html[dir="rtl"] .d-amount, html[dir="rtl"] .d-btc, html[dir="rtl"] .live-price b { direction: ltr; unicode-bidi: isolate; }
html[dir="rtl"] .d-timer i { transform-origin: right; }
html[dir="rtl"] .strip > div + div { border-left: 0; border-right: 1px solid var(--line); }
html[dir="rtl"] .timeline { border-left: 0; border-right: 1px solid var(--line); }
html[dir="rtl"] .timeline li { padding: 0 30px 28px 0; }
html[dir="rtl"] .timeline li::before { left: auto; right: -5px; }
html[dir="rtl"] .onboard li { padding: 34px 0 0 24px; }
html[dir="rtl"] .onboard li::before { left: auto; right: 0; }
html[dir="rtl"] .w-caret { margin-left: 0; margin-right: .05em; }
html[dir="rtl"] .x { right: auto; left: 16px; }
html[dir="rtl"] .hp { left: auto; right: -9999px; }
html[dir="rtl"] .chat { right: auto; left: 20px; }
html[dir="rtl"] .chat-panel { right: auto; left: 0; }
html[dir="rtl"] .msg.bot { border-bottom-left-radius: 18px; border-bottom-right-radius: 6px; }
html[dir="rtl"] .msg.me { border-bottom-right-radius: 18px; border-bottom-left-radius: 6px; }
html[dir="rtl"] .marquee-track { direction: ltr; }
html[dir="rtl"] .device.reveal.in { transform: perspective(1400px) rotateY(6deg) rotateX(3deg); }
html[dir="rtl"] .device.reveal.in:hover { transform: perspective(1400px) rotateY(0) rotateX(0); }
@media (max-width: 1000px) {
  html[dir="rtl"] .device, html[dir="rtl"] .device.reveal.in { transform: none; }
}
@media (max-width: 720px) {
  html[dir="rtl"] .nav { padding-right: 18px; }
  html[dir="rtl"] .btn-order { padding: 18px 26px 18px 24px; }
  html[dir="rtl"] .btn-order.small { padding: 12px 14px; }
  html[dir="rtl"] .strip > div:nth-child(3) { border-right: 0; }
  html[dir="rtl"] .chat { left: 16px; }
  .lang-btn { width: 38px; height: 38px; }
  .nav-right { gap: 6px; }
  .theme-btn { width: 38px; height: 38px; }
  .btn-order.small { padding: 12px 12px; letter-spacing: .08em; }
}

/* ------------------------------------------------------------------ phones
   A glass bar along the bottom holds Order, WhatsApp and chat, so nothing floats over the page's text. */
.bar-order, .chat-ico { display: none; }
* { -webkit-tap-highlight-color: transparent; }
@media (hover: none) {
  .device:hover, .device.reveal.in:hover, html[dir="rtl"] .device.reveal.in:hover { transform: none; }
  .portrait:hover img.portrait-img { filter: url(#avatar); }
}
@media (max-width: 900px) {
  .links { display: none; }
}
@media (max-width: 720px) {
  .glass { -webkit-backdrop-filter: blur(14px) saturate(160%); backdrop-filter: blur(14px) saturate(160%); }
  .glow { filter: none; animation: none; }

  .nav { top: max(10px, env(safe-area-inset-top)); width: calc(100% - 24px); padding: 8px 8px 8px 14px; }
  html[dir="rtl"] .nav { padding: 8px 14px 8px 8px; }
  .logo-name { display: inline; font-size: 11px; letter-spacing: .26em; }
  .btn-order.small { display: none; }
  .lang-btn, .theme-btn { width: 40px; height: 40px; }

  .section, .hero, .strip, .final, .manifesto, .foot { width: calc(100% - 32px); }
  .hero { min-height: 0; padding: 92px 0 24px; gap: 28px; }
  .headline { font-size: clamp(38px, 12.2vw, 54px); line-height: 1.04; }
  .kicker { font-size: 12px; margin-bottom: 14px; }
  .lede { margin: 18px 0 24px; font-size: 16px; }
  .device { min-height: 0; padding: 16px 18px 22px; }
  .d-amount { font-size: 58px; }
  .section { padding-top: 72px; }
  .manifesto { padding-top: 72px; }
  .h2 { font-size: clamp(32px, 10vw, 44px); margin-bottom: 30px; max-width: none; }
  .card { padding: 26px 22px; }
  .num { margin-bottom: 18px; font-size: 42px; }
  .strip { padding: 22px 6px; }
  .strip b { font-size: 34px; }
  .strip span { font-size: 10px; letter-spacing: .16em; }
  .final { margin-top: 72px; padding: 48px 20px; border-radius: 30px; }
  .timeline { margin-top: 32px; }
  .story-text > p:not(.eyebrow) { font-size: 16px; }
  .faq details { border-radius: 18px; }

  /* order form fits a phone without much scrolling */
  .modal { padding: 10px; align-items: end; }
  .modal-card { max-height: calc(100vh - 20px); max-height: calc(100dvh - 20px); padding: 24px 20px 20px; border-radius: 26px; }
  .modal .h3 { font-size: 26px; margin-bottom: 14px; padding-inline-end: 34px; }
  .modal label { margin-bottom: 10px; }
  .modal input, .modal select, .modal textarea { padding: 10px 14px; margin-top: 5px; }
  .row { grid-template-columns: 1fr 1fr; gap: 10px; }
  .x { top: 10px; right: 10px; }
  html[dir="rtl"] .x { left: 10px; right: auto; }

  /* the bottom bar */
  .chat, html[dir="rtl"] .chat {
    left: 10px; right: 10px; bottom: max(10px, env(safe-area-inset-bottom));
    gap: 8px; padding: 7px; border-radius: 999px; border: 1px solid var(--glass-edge);
    background: rgba(28, 27, 36, .72); -webkit-backdrop-filter: blur(18px) saturate(170%); backdrop-filter: blur(18px) saturate(170%);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .18), 0 18px 40px -16px rgba(0, 0, 0, .8);
  }
  html[data-theme="light"] .chat { background: rgba(255, 255, 255, .72); box-shadow: inset 0 1px 0 #fff, 0 18px 40px -16px rgba(60, 45, 20, .4); }
  .bar-order, html[dir="rtl"] .bar-order { display: inline-flex; flex: 1; min-width: 0; justify-content: center; padding: 14px 12px; font-size: 12px; letter-spacing: .1em; white-space: nowrap; }
  .bar-order::before { display: none; }
  .bar-order .btn-arrow { display: none; }
  .wa-fab, .chat-fab { flex: none; width: 44px; height: 44px; padding: 0; justify-content: center; border-radius: 50%; }
  .chat-word, .chat-fab .dot { display: none; }
  .chat-ico { display: block; width: 20px; height: 20px; }

  /* chat opens as a full panel */
  .chat:has(.chat-panel:not([hidden])), html[dir="rtl"] .chat:has(.chat-panel:not([hidden])) {
    top: max(10px, env(safe-area-inset-top)); padding: 0; border: 0; background: none; box-shadow: none; -webkit-backdrop-filter: none; backdrop-filter: none;
  }
  .chat:has(.chat-panel:not([hidden])) .bar-order { display: none; }
  .chat-panel, html[dir="rtl"] .chat-panel { inset: 0; width: auto; height: auto; }
  .chat-quick { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; }
  .chat-quick button { flex: none; }
  .chat-quick::-webkit-scrollbar { display: none; }

  /* keep the page's end clear of the bar */
  .foot { padding-bottom: 96px; flex-direction: column; align-items: center; text-align: center; margin-top: 48px; }
}
@media (max-width: 350px) {
  .logo-name { display: none; }
}
/* tablets and sideways phones */
.sticker { max-width: 92%; justify-self: center; }
@media (max-width: 1000px) {
  .hero { min-height: 0; }
}
@media (max-height: 500px) {
  .hero { padding-top: 84px; }
  .headline { font-size: clamp(32px, 11vh, 46px); }
  .lede { margin: 14px 0 18px; }
  .modal-card { max-height: calc(100vh - 16px); max-height: calc(100dvh - 16px); }
}

/* ------------------------------------------------------------------ language switch: EN / FR / HE */
.lang-group { display: flex; align-items: center; padding: 3px; border-radius: 999px; border: 1px solid var(--line); }
.lang-group a { display: grid; place-items: center; min-width: 34px; height: 34px; padding: 0 6px; border-radius: 999px; color: var(--muted); text-decoration: none;
  font-size: 12px; font-weight: 400; letter-spacing: .04em; transition: color .2s, background .2s; }
.lang-group a:hover { color: var(--ink); }
.lang-group a[aria-current] { background: var(--ink); color: var(--paper); }
@media (max-width: 720px) {
  .lang-group a { min-width: 30px; height: 32px; padding: 0 4px; }
}
@media (max-width: 400px) {
  .logo-name { display: none; }
}
/* the top bar stays on one line now that it holds three languages */
.links a { white-space: nowrap; }
.btn-order.small { flex: none; }
html[lang="fr"] .links a { letter-spacing: .14em; }
@media (max-width: 1240px) {
  .links { gap: 20px; }
  .links a { letter-spacing: .12em; font-size: 11px; }
  .logo-name { display: none; }
}
@media (max-width: 1100px) {
  .links { display: none; }
}
/* the bar is at most 1180px wide on any screen, and French labels are longer */
html[lang="fr"] .nav .logo-name { display: none; }
html[lang="fr"] .links { gap: 18px; }
html[lang="fr"] .links a { letter-spacing: .1em; font-size: 11px; }

/* ==================================================================== MOTION SYSTEM
   Rebuilt on Emil Kowalski's design-engineering rules:
   · strong custom curves, ease-out for anything entering, never ease-in
   · UI motion under 300ms (modals/sheets up to ~450ms), exits faster than entrances
   · transitions (interruptible) for UI, keyframes only for ambient loops
   · every pressable element answers a press with scale(.97)
   · hover effects only for real mouse pointers
   · reduced motion keeps fades, drops movement
   ==================================================================== */
:root {
  --ease-out: cubic-bezier(.23, 1, .32, 1);
  --ease-in-out: cubic-bezier(.77, 0, .175, 1);
  --ease-drawer: cubic-bezier(.32, .72, 0, 1);
  --ease: var(--ease-out);
  --press: 160ms;
}
/* the pointer light: non-inherited, so updating it never restyles a card's children */
@property --mx { syntax: "<length-percentage>"; inherits: false; initial-value: 30%; }
@property --my { syntax: "<length-percentage>"; inherits: false; initial-value: 0%; }

/* ------------------------------------------------------------------ press feedback */
.btn-order, .btn-ghost, .theme-btn, .lang-group a, .chat-quick button, .chat-input button,
.wa-fab, .chat-fab, .x, .faq summary, .lang-btn {
  transition-property: transform, background-color, border-color, color, box-shadow, opacity;
  transition-duration: var(--press); transition-timing-function: var(--ease-out);
}
.btn-order:active, .btn-ghost:active, .theme-btn:active, .lang-group a:active, .chat-quick button:active,
.chat-input button:active, .wa-fab:active, .chat-fab:active, .x:active, .lang-btn:active { transform: scale(.97); }
.faq summary:active { transform: scale(.995); }
.btn-arrow { transition: transform 200ms var(--ease-out); }

/* ------------------------------------------------------------------ hover: mouse only */
/* Touch screens fire hover on tap and leave it stuck, so every hover effect is neutral by default... */
.btn-order:hover { transform: none; }
.btn-order:hover .btn-arrow, html[dir="rtl"] .btn-order:hover .btn-arrow { transform: none; }
.theme-btn:hover, .wa-fab:hover { transform: none; }
.device:hover { transform: perspective(1400px) rotateY(-6deg) rotateX(3deg); }
.device.reveal.in:hover { transform: perspective(1400px) rotateY(-6deg) rotateX(3deg); }
html[dir="rtl"] .device.reveal.in:hover { transform: perspective(1400px) rotateY(6deg) rotateX(3deg); }
.portrait:hover img.portrait-img { filter: url(#avatar); }
/* ...and switched on where there is a real mouse. */
@media (hover: hover) and (pointer: fine) {
  .btn-order:hover { transform: translateY(-1px); }
  .btn-order:hover .btn-arrow { transform: translateX(3px); }
  html[dir="rtl"] .btn-order:hover .btn-arrow { transform: translateX(-3px); }
  .btn-order:active, .btn-order:hover:active { transform: scale(.97); }
  .theme-btn:hover { transform: rotate(-15deg); }
  .theme-btn:hover:active { transform: rotate(-15deg) scale(.97); }
  .wa-fab:hover { transform: scale(1.05); }
  .wa-fab:hover:active { transform: scale(.97); }
  .portrait:hover img.portrait-img { filter: none; }
  /* the shine sweeps once when the mouse arrives, instead of looping forever */
  .btn-order:hover .btn-shine { animation: shine-once 700ms var(--ease-out); }
}
@media (max-width: 1000px) {
  .device:hover, .device.reveal.in:hover, html[dir="rtl"] .device.reveal.in:hover { transform: none; }
}
.btn-shine { animation: none; left: -60%; }
@keyframes shine-once { from { left: -60%; } to { left: 130%; } }
/* the running ring stays only on the two big Order buttons that end a section */
.hero-cta .btn-order::before, .final .btn-order::before { animation-duration: 4.5s; }
.try-form .btn-order::before, .modal .btn-order::before, .bar-order::before { display: none; }

/* ------------------------------------------------------------------ scroll reveals */
/* Short travel, no blur, ease-out; the JS staggers siblings 0/50/90/120ms. */
.reveal { opacity: 0; transform: translateY(14px); transition: opacity 600ms var(--ease-out), transform 600ms var(--ease-out); }
.reveal.in { opacity: 1; transform: none; }
.device.reveal { transition: opacity 700ms var(--ease-out), transform 700ms var(--ease-out); }

/* ------------------------------------------------------------------ hero entrance (once, on load) */
/* The hero is the first thing anyone sees, so it gets a choreographed entrance instead of a scroll reveal. */
.hero .hero-text.reveal { opacity: 1; transform: none; transition: none; }
.hero-text > * { animation: rise 640ms var(--ease-out) both; }
.hero-text > .kicker { animation-delay: 60ms; }
.hero-text > .live-price { animation-delay: 110ms; }
.hero-text > .headline { animation-delay: 150ms; }
.hero-text > .lede { animation-delay: 230ms; }
.hero-text > .hero-cta { animation-delay: 290ms; }
.hero .device.reveal { transition-delay: 340ms !important; }
@keyframes rise { from { opacity: 0; transform: translateY(12px); } }

/* ------------------------------------------------------------------ the display demo */
.device-body { transition: filter 160ms ease, opacity 160ms ease; }
.device-body.swapping { filter: blur(3px); opacity: .35; }
.device-paid { transition: opacity 260ms var(--ease-out); }
.device-paid .d-paid-label, .device-paid .d-paid-big { transform: translateY(6px); opacity: 0; transition: transform 320ms var(--ease-out), opacity 320ms var(--ease-out); }
.device.paid .device-paid .d-paid-label { transform: none; opacity: .85; transition-delay: 60ms; }
.device.paid .device-paid .d-paid-big { transform: none; opacity: 1; transition-delay: 110ms; }

/* ------------------------------------------------------------------ modal: centred, scales from .97 */
.modal { display: grid; }
.modal-back { animation: none; opacity: 0; transition: opacity 200ms ease; }
.modal-card { animation: none; opacity: 0; transform: translateY(8px) scale(.97); transform-origin: center;
  transition: opacity 180ms ease, transform 180ms var(--ease-out); }
.modal[data-open] .modal-back { opacity: 1; transition-duration: 260ms; }
.modal[data-open] .modal-card { opacity: 1; transform: none; transition-duration: 260ms, 320ms; }
/* the thank-you card replaces the form in place */
.modal-card.done { transition: opacity 260ms ease, transform 320ms var(--ease-out); }
@starting-style { .modal[data-open] .modal-card.done { opacity: 0; transform: scale(.97); } }

/* ------------------------------------------------------------------ chat: grows out of its button */
.chat-panel { animation: none; opacity: 0; transform: scale(.94) translateY(6px); transform-origin: bottom right;
  transition: opacity 160ms ease, transform 180ms var(--ease-out); }
html[dir="rtl"] .chat-panel { transform-origin: bottom left; }
.chat-panel[data-open] { opacity: 1; transform: none; transition-duration: 220ms, 260ms; }
.msg { animation: none; transition: opacity 220ms ease, transform 260ms var(--ease-out); transform-origin: bottom left; }
.msg.me { transform-origin: bottom right; }
html[dir="rtl"] .msg { transform-origin: bottom right; }
html[dir="rtl"] .msg.me { transform-origin: bottom left; }
@starting-style { .msg { opacity: 0; transform: translateY(6px) scale(.97); } }
.msg.typing { animation: typing 1.2s ease-in-out infinite; }
@keyframes typing { 50% { opacity: .45; } }

/* ------------------------------------------------------------------ form button label swaps behind a blur */
.btn-label { transition: filter 120ms ease, opacity 120ms ease; }
.btn-label.swapping { filter: blur(2px); opacity: .5; }

/* ------------------------------------------------------------------ FAQ answers ease in */
.faq summary::after { transition: transform 200ms var(--ease-out); }
.faq details p { transition: opacity 240ms ease, transform 280ms var(--ease-out); }
@starting-style { .faq details[open] p { opacity: 0; transform: translateY(-4px); } }

/* ------------------------------------------------------------------ colours: quick, not a slow crossfade */
body, .glass, .nav, .card, .faq details { transition: none; }
.links a, .lang-group a { transition: color 150ms ease, background-color 150ms ease; }
.try-form input, .modal input, .modal select, .modal textarea, .chat-input input { transition: border-color 150ms ease, background-color 150ms ease; }
img.portrait-img { transition: filter 300ms ease; }

/* ------------------------------------------------------------------ theme switch: circular reveal (script.js) */
::view-transition-old(root), ::view-transition-new(root) { animation: none; mix-blend-mode: normal; }
::view-transition-new(root) { z-index: 1; }

/* ------------------------------------------------------------------ phones: sheets come up from the bottom */
@media (max-width: 720px) {
  .modal-card { transform: translateY(100%); transition: opacity 200ms ease, transform 240ms var(--ease-out); }
  .modal[data-open] .modal-card { transform: none; transition: opacity 200ms ease, transform 420ms var(--ease-drawer); }
  .chat-panel, html[dir="rtl"] .chat-panel { transform-origin: bottom center; transform: translateY(24px) scale(.98); }
  .chat-panel[data-open] { transform: none; }
}

/* ------------------------------------------------------------------ reduced motion: fades stay, movement goes */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 1ms !important; animation-iteration-count: 1 !important; scroll-behavior: auto !important; }
  .reveal, .hero-text > * { transform: none !important; transition: opacity 300ms ease !important; animation: fade 300ms ease both !important; }
  .reveal:not(.in) { opacity: 0; }
  .modal-card, .modal[data-open] .modal-card, .chat-panel, .chat-panel[data-open], .msg { transform: none !important; }
  .marquee-track, .glow, .sticker, .headline em, .manifesto blockquote em, .btn-order::before, .dot { animation: none !important; }
  .device, .device.reveal.in { transition: opacity 300ms ease !important; }
}
@keyframes fade { from { opacity: 0; } }

/* ====================================================================== THE INLAY
   The same look as Coinbite Boss, the owner's app: a cassette tape's inlay card. Ballpoint blue on white stock,
   black figures, and Bitcoin orange as the one printed stripe, orange means money and nothing else.
   Ink on the sheet: no glows, gradients or drop shadows. Heebo for every word and figure, Amatic SC hand-letters
   the section heads. Only the floating top bar and phone bar stay frosted, so the page can scroll under them.
   (Every rule is prefixed html[lang][data-theme] so it outranks the earlier editorial theme.)
   ====================================================================== */
html[lang][data-theme="light"] {
  --bg: #FFFFFF; --sheet: #FFFFFF; --sheet-alt: #F3F5FA; --text: #151515; --dim: #5E6170; --line: #D6DCEC;
  --blue: #1D3FA6; --blue-soft: #E6EBF8; --accent: #F7931A; --accent-ink: #A85300; --accent-soft: #FDEBD3;
  --good: #1E7A44; --on-blue: #FFFFFF; --frost: rgba(255, 255, 255, .82);
  color-scheme: light;
}
html[lang][data-theme="dark"] {
  /* the same inlay printed on blue-black stock */
  --bg: #0D1120; --sheet: #141A2E; --sheet-alt: #1B2238; --text: #F2F4FA; --dim: #A1A8BD; --line: #28304A;
  --blue: #A9BBFF; --blue-soft: #1E2747; --accent: #F7931A; --accent-ink: #FFB45C; --accent-soft: #3A2711;
  --good: #58CF91; --on-blue: #0D1120; --frost: rgba(13, 17, 32, .8);
  color-scheme: dark;
}
html[lang][data-theme] {
  --paper: var(--bg); --ink: var(--text); --muted: var(--dim);
  --glass: var(--sheet); --glass-strong: var(--sheet); --glass-edge: var(--line);
  --serif: "Heebo", system-ui, sans-serif; --caps: "Heebo", system-ui, sans-serif; --hand: "Amatic SC", "Heebo", cursive;
  --radius: 12px;
}
html[lang][data-theme] body { background: var(--bg); color: var(--text); font: 400 17px/1.6 var(--caps); }
html[lang][data-theme] em { font-style: normal; }

/* the tape's one orange stripe, across the top of the page */
html[lang][data-theme] body::before { content: ""; position: fixed; z-index: 30; top: 0; left: 0; right: 0; height: 4px; background: var(--accent); }
html[lang][data-theme] .ambient { display: none; }

/* ---------------------------------------------------------------- sheets instead of glass */
html[lang][data-theme] .glass {
  background: var(--sheet); border: 1px solid var(--line); border-radius: 12px; box-shadow: none;
  -webkit-backdrop-filter: none; backdrop-filter: none;
}
html[lang][data-theme] .glass::before { display: none; }

/* ---------------------------------------------------------------- top bar */
html[lang][data-theme] .nav {
  top: 14px; border-radius: 12px; background: var(--frost); border: 1px solid var(--line);
  -webkit-backdrop-filter: blur(16px) saturate(160%); backdrop-filter: blur(16px) saturate(160%);
}
html[lang][data-theme] .logo-name { font: 800 18px/1 var(--caps); letter-spacing: -.01em; text-transform: none; color: var(--text); }
html[lang][data-theme] .links a { font: 500 15px/1 var(--caps); letter-spacing: 0; text-transform: none; color: var(--dim); }
html[lang][data-theme] .links a:hover { color: var(--blue); }
html[lang][data-theme] .theme-btn { border-radius: 8px; border-color: var(--line); color: var(--text); }
html[lang][data-theme] .lang-group { border-radius: 8px; border-color: var(--line); }
html[lang][data-theme] .lang-group a { border-radius: 6px; font: 500 13px/1 var(--caps); color: var(--dim); }
html[lang][data-theme] .lang-group a[aria-current] { background: var(--blue); color: var(--on-blue); }

/* ---------------------------------------------------------------- buttons: ballpoint blue, like the app's primary button */
html[lang][data-theme] .btn-order {
  border-radius: 8px; padding: 17px 24px; gap: 12px; background: var(--blue); color: var(--on-blue);
  font: 700 16px/1 var(--caps); letter-spacing: 0; text-transform: none; box-shadow: none;
}
html[lang][data-theme] .btn-order::before, html[lang][data-theme] .btn-order::after, html[lang][data-theme] .btn-shine { display: none; }
html[lang][data-theme] .btn-arrow { width: auto; height: auto; margin: 0; background: none; color: inherit; font-size: 18px; }
html[lang][data-theme] .btn-order.small { padding: 11px 16px; font-size: 14px; }
html[lang][data-theme] .btn-ghost {
  border-radius: 8px; padding: 16px 22px; border: 1px solid var(--blue); color: var(--blue);
  font: 700 16px/1 var(--caps); letter-spacing: 0; text-transform: none;
}
@media (hover: hover) and (pointer: fine) {
  html[lang][data-theme] .btn-order:hover { box-shadow: none; filter: brightness(1.12); }
  html[lang][data-theme] .btn-ghost:hover { background: var(--blue-soft); border-color: var(--blue); }
}

/* ---------------------------------------------------------------- type */
/* section heads are lettered by hand in ballpoint, like the sides written on a tape's card */
html[lang][data-theme] .eyebrow, html[lang][data-theme] .kicker {
  font: 700 34px/1 var(--hand); letter-spacing: .01em; text-transform: none; color: var(--blue); margin-bottom: 10px;
}
html[lang][data-theme] .kicker { font-size: 30px; }
html[lang][data-theme] .h2 { font: 800 clamp(32px, 4.6vw, 58px)/1.05 var(--caps); letter-spacing: -.025em; color: var(--text); }
html[lang][data-theme] .h3 { font: 800 clamp(26px, 3.2vw, 34px)/1.1 var(--caps); letter-spacing: -.02em; }
html[lang][data-theme] .h2 em, html[lang][data-theme] .h3 em { color: var(--blue); }
html[lang][data-theme] .headline { font: 800 clamp(44px, min(6.4vw, 9.6vh), 96px)/.98 var(--caps); letter-spacing: -.035em; color: var(--text); }
html[lang][data-theme] .headline em { background: none; color: var(--blue); animation: none; -webkit-background-clip: border-box; background-clip: border-box; }
html[lang][data-theme] .lede { color: var(--dim); }
html[lang][data-theme] .lede b { color: var(--text); font-weight: 700; }

/* money is the only orange: the live price */
html[lang][data-theme] .live-price { border-radius: 8px; border: 1px solid var(--accent); background: var(--accent-soft);
  font: 500 14px/1 var(--caps); letter-spacing: 0; text-transform: none; color: var(--text); }
html[lang][data-theme] .live-price b { color: var(--accent-ink); font-weight: 800; font-variant-numeric: tabular-nums; }
html[lang][data-theme] .live-price .dot { background: var(--accent); box-shadow: none; }

/* ---------------------------------------------------------------- the display replica keeps the customer display's own look */
html[lang][data-theme] .device, html[lang][data-theme] .welcome {
  --serif: "Bodoni Moda", "Didot", Georgia, serif; --caps: "Jost", "Futura", system-ui, sans-serif;
  border-radius: 16px; background: var(--sheet); border: 1px solid var(--line);
}
html[lang="he"][data-theme] .device, html[lang="he"][data-theme] .welcome { --serif: "Frank Ruhl Libre", serif; --caps: "Heebo", sans-serif; }
html[lang][data-theme] .device em, html[lang][data-theme] .welcome em, html[lang][data-theme] .d-exact { font-style: italic; }
html[lang="he"][data-theme] .d-exact { font-style: normal; }
html[lang][data-theme] .d-amount { color: var(--text); }
html[lang][data-theme] .d-amount .cur { color: var(--accent-ink); }
html[lang][data-theme] .device-paid { background: var(--good); color: #fff; }

/* ---------------------------------------------------------------- the band of figures */
html[lang][data-theme] .strip { border-radius: 12px; }
html[lang][data-theme] .strip b { font: 800 40px/1 var(--caps); letter-spacing: -.02em; font-variant-numeric: tabular-nums; color: var(--text); }
html[lang][data-theme] .strip > div:nth-child(2) b { color: var(--accent-ink); }
html[lang][data-theme] .strip span { font: 500 14px/1.3 var(--caps); letter-spacing: 0; text-transform: none; color: var(--dim); }

/* ---------------------------------------------------------------- marquee: hand-lettered */
html[lang][data-theme] .marquee { border-color: var(--line); }
html[lang][data-theme] .marquee span { font: 700 clamp(30px, 3.4vw, 44px)/1 var(--hand); color: var(--blue); letter-spacing: .01em; }
html[lang][data-theme] .m-dot { background: var(--line); box-shadow: none; }

html[lang][data-theme] .manifesto blockquote { font: 800 clamp(28px, 3.8vw, 48px)/1.15 var(--caps); letter-spacing: -.025em; color: var(--text); }
html[lang][data-theme] .manifesto blockquote em { background: none; color: var(--blue); animation: none; -webkit-background-clip: border-box; background-clip: border-box; }

/* ---------------------------------------------------------------- cards become ruled rows, like the app's lists */
html[lang][data-theme] .card { background: none; border: 0; border-top: 2px solid var(--text); border-radius: 0; padding: 22px 4px 8px; }
html[lang][data-theme] .card h3 { font: 700 22px/1.25 var(--caps); letter-spacing: -.01em; color: var(--text); }
html[lang][data-theme] .card p { color: var(--dim); }
html[lang][data-theme] .num, html[lang][data-theme] .o-num { font: 700 48px/1 var(--hand); color: var(--blue); margin-bottom: 14px; }
html[lang][data-theme] .grid .card h3::before { display: none; }
html[lang][data-theme] .grid { gap: 28px 24px; }
html[lang][data-theme] .steps { gap: 24px; }

/* ---------------------------------------------------------------- your restaurant */
html[lang][data-theme] .try-form { border-radius: 12px; }
html[lang][data-theme] .try-form label { font: 500 14px/1.3 var(--caps); letter-spacing: 0; text-transform: none; color: var(--dim); }
html[lang][data-theme] .try-form input { font: 800 clamp(28px, 3vw, 38px)/1.1 var(--caps); letter-spacing: -.02em; border-bottom: 2px solid var(--line); color: var(--text); }
html[lang][data-theme] .try-form input:focus { border-color: var(--blue); }

/* ---------------------------------------------------------------- story */
html[lang][data-theme] .portrait { border-radius: 12px; }
html[lang][data-theme] img.portrait-img { box-shadow: 0 0 0 1px var(--line); }
html[lang][data-theme] .portrait-name { font: 800 26px/1.1 var(--caps); letter-spacing: -.02em; }
html[lang][data-theme] .portrait-role { font: 500 14px/1 var(--caps); letter-spacing: 0; text-transform: none; color: var(--dim); }
html[lang][data-theme] .story-text > p:not(.eyebrow) { color: var(--dim); }
html[lang][data-theme] .timeline { border-color: var(--line); }
html[lang][data-theme] .timeline li::before { background: var(--bg); border: 2px solid var(--blue); }
html[lang][data-theme] .timeline li:last-child::before, html[lang][data-theme] .onboard li:last-child::before { background: var(--blue); border-color: var(--blue); box-shadow: none; }
html[lang][data-theme] .t-date { font: 700 15px/1.3 var(--caps); letter-spacing: 0; text-transform: none; color: var(--blue); }
html[lang][data-theme] .t-what { color: var(--dim); }
html[lang][data-theme] .onboard { border-color: var(--line); }
html[lang][data-theme] .onboard li { border-color: var(--line); }
html[lang][data-theme] .onboard li::before { background: var(--bg); border: 2px solid var(--blue); }
html[lang][data-theme] .onboard h3 { font: 700 22px/1.25 var(--caps); }
html[lang][data-theme] .onboard p { color: var(--dim); }

/* ---------------------------------------------------------------- FAQ: ruled rows */
html[lang][data-theme] .faq { gap: 0; border-top: 2px solid var(--text); }
html[lang][data-theme] .faq details { background: none; border: 0; border-bottom: 1px solid var(--line); border-radius: 0; padding: 0 4px; }
html[lang][data-theme] .faq summary { font: 700 19px/1.35 var(--caps); letter-spacing: -.005em; padding: 20px 0; }
html[lang][data-theme] .faq summary::after { color: var(--blue); font-weight: 400; }
html[lang][data-theme] .faq details p { color: var(--dim); }

/* ---------------------------------------------------------------- closing call */
html[lang][data-theme] .final { border-radius: 12px; background: var(--blue-soft); border-color: var(--blue-soft); }
html[lang][data-theme] .foot { border-color: var(--line); font: 500 14px/1.4 var(--caps); letter-spacing: 0; text-transform: none; color: var(--dim); }
html[lang][data-theme] .foot a { color: var(--blue); letter-spacing: 0; }

/* ---------------------------------------------------------------- order form */
html[lang][data-theme] .modal-back { background: rgba(13, 17, 32, .45); -webkit-backdrop-filter: none; backdrop-filter: none; }
html[lang][data-theme] .modal-card { background: var(--sheet); border-radius: 12px; }
html[lang][data-theme] .modal label { font: 500 14px/1.3 var(--caps); letter-spacing: 0; text-transform: none; color: var(--dim); }
html[lang][data-theme] .modal input, html[lang][data-theme] .modal select, html[lang][data-theme] .modal textarea,
html[lang][data-theme] .chat-input input { background: var(--sheet-alt); border: 1px solid var(--line); border-radius: 8px; color: var(--text); font: 400 16px var(--caps); }
html[lang][data-theme] .modal input:focus, html[lang][data-theme] .modal select:focus, html[lang][data-theme] .modal textarea:focus,
html[lang][data-theme] .chat-input input:focus { border-color: var(--blue); background: var(--sheet-alt); }
html[lang][data-theme] .modal select option { background: var(--sheet); }
html[lang][data-theme] .x { border-radius: 8px; border-color: var(--line); color: var(--text); }
html[lang][data-theme] .fine { color: var(--dim); }
html[lang][data-theme] mark.ph { background: var(--accent-soft); color: var(--accent-ink); border-color: var(--accent); }

/* ---------------------------------------------------------------- chat */
html[lang][data-theme] .chat-fab { border-radius: 8px; font: 700 15px/1 var(--caps); letter-spacing: 0; text-transform: none; color: var(--blue);
  background: var(--frost); -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px); }
html[lang][data-theme] .wa-fab { border-radius: 8px; background: var(--frost); -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px); box-shadow: none; }
html[lang][data-theme] .chat-panel { background: var(--sheet); border-radius: 12px; }
html[lang][data-theme] .chat-title { font: 800 20px/1.1 var(--caps); }
html[lang][data-theme] .chat-sub { font: 500 13px/1.2 var(--caps); letter-spacing: 0; text-transform: none; }
html[lang][data-theme] .msg.bot { background: var(--sheet-alt); border-color: var(--line); color: var(--text); }
html[lang][data-theme] .msg.me, html[lang][data-theme] .chat-input button { background: var(--blue); color: var(--on-blue); }
html[lang][data-theme] .chat-input button { border-radius: 8px; }
html[lang][data-theme] .chat-quick button { border-radius: 8px; border-color: var(--blue); background: none; color: var(--blue); font: 500 14px var(--caps); }
html[lang][data-theme] .chat-quick button:hover { background: var(--blue-soft); }

/* ---------------------------------------------------------------- phones */
@media (max-width: 720px) {
  html[lang][data-theme] .chat, html[lang][data-theme][dir="rtl"] .chat {
    border-radius: 12px; background: var(--frost); border: 1px solid var(--line); box-shadow: none;
  }
  html[lang][data-theme] .chat:has(.chat-panel:not([hidden])) { background: none; border: 0; -webkit-backdrop-filter: none; backdrop-filter: none; }
  html[lang][data-theme] .bar-order { padding: 14px 12px; font-size: 15px; }
  html[lang][data-theme] .wa-fab, html[lang][data-theme] .chat-fab { border-radius: 8px; background: var(--sheet-alt); }
  html[lang][data-theme] .headline { font-size: clamp(40px, 12.4vw, 56px); }
  html[lang][data-theme] .h2 { font-size: clamp(30px, 9vw, 42px); }
  html[lang][data-theme] .eyebrow { font-size: 30px; }
  html[lang][data-theme] .nav { top: max(10px, env(safe-area-inset-top)); }
  html[lang][data-theme] .strip b { font-size: 32px; }
  html[lang][data-theme] .strip span { font-size: 12px; }
  html[lang][data-theme] .modal-card { border-radius: 16px 16px 12px 12px; }
}

/* ====================================================================== ACCESSIBILITY (IS 5568 / WCAG 2.1 AA)
   Israeli law (Equal Rights for Persons with Disabilities, service regulations, reg. 35) asks websites for IS 5568
   at level AA. What the rules below cover is listed on the accessibility statement pages.
   ====================================================================== */
.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

/* skip link: first thing a keyboard reaches, visible only when focused */
.skip { position: fixed; z-index: 100; top: 12px; inset-inline-start: 12px; padding: 12px 18px; border-radius: 8px;
  background: var(--blue); color: var(--on-blue, #fff); font: 700 16px/1 var(--caps); text-decoration: none; transform: translateY(-160%); }
.skip:focus { transform: none; }
main:focus { outline: none; }

/* a focus ring that is visible on every background, light and dark (2.4.7, 1.4.11) */
html[lang][data-theme] :focus-visible { outline: 3px solid var(--blue); outline-offset: 2px; }
html[lang][data-theme] .btn-order:focus-visible, html[lang][data-theme] .lang-group a[aria-current]:focus-visible { outline-color: var(--text); }
.modal-card:focus, .chat-panel:focus { outline: none; }

/* field borders strong enough to see where to type (1.4.11: 3:1 against the sheet) */
html[lang][data-theme="light"] { --field-edge: #7C8297; }
html[lang][data-theme="dark"] { --field-edge: #6E7796; }
html[lang][data-theme] .modal input, html[lang][data-theme] .modal select, html[lang][data-theme] .modal textarea,
html[lang][data-theme] .chat-input input { border-color: var(--field-edge); }
html[lang][data-theme] .try-form input { border-bottom-color: var(--field-edge); }
.req { color: var(--accent-ink, #A85300); font-weight: 700; }
.req-note { margin: 0 0 6px; text-align: start; }

/* text on the orange sticker is dark ink: white on Bitcoin orange is only 2.1:1 */
html[lang][data-theme] .sticker { color: #151515; }
html[lang][data-theme] .sticker .s-coin { color: #151515; }
/* "paid" keeps the light theme's deep green in dark mode too, so white text stays readable (5.4:1) */
html[lang][data-theme] .device-paid { background: #1E7A44; }

/* footer: statement link and the pause button */
.motion-btn { background: none; border: 0; padding: 8px 0; color: var(--blue); font: 500 14px/1.4 var(--caps); cursor: pointer; text-decoration: underline; text-underline-offset: 3px; }
html[lang][data-theme] .foot a { text-decoration: underline; text-underline-offset: 3px; }

/* "pause animations": everything that moves on its own stops */
.no-motion .marquee-track, .no-motion .sticker, .no-motion .w-caret, .no-motion .dot, .no-motion .glow,
.no-motion .btn-order::before, .no-motion .msg.typing { animation: none !important; }
.no-motion .marquee { overflow-x: auto; }

/* on hover or keyboard focus the band stops too, so it can be read */
.marquee:hover .marquee-track { animation-play-state: paused; }

/* ------------------------------------------------------------------ accessibility statement pages */
.statement { position: relative; z-index: 1; width: min(760px, calc(100% - 32px)); margin: 0 auto; padding: 120px 0 80px; }
.statement .h2 { margin-bottom: 8px; }
.statement .updated { color: var(--dim); margin: 0 0 32px; }
.statement section { border-top: 1px solid var(--line); padding: 20px 0 8px; }
.statement h2 { font: 800 22px/1.3 var(--caps); margin: 0 0 8px; color: var(--text); }
.statement p, .statement li { color: var(--text); }
.statement ul { padding-inline-start: 1.2em; margin: 0; }
.statement li { margin-bottom: 8px; }
.statement .contact { display: grid; grid-template-columns: auto 1fr; gap: 8px 20px; margin: 8px 0 0; padding: 20px; border: 1px solid var(--line); border-radius: 12px; background: var(--sheet-alt); }
.statement dt { color: var(--dim); font-weight: 500; }
.statement dd { margin: 0; font-weight: 700; }
.statement a { color: var(--blue); }
.statement-page .nav .back { padding: 11px 16px; font-size: 14px; }
@media (max-width: 720px) { .statement-page .logo-name { display: inline; } .statement { padding-top: 96px; } }
html[lang][data-theme] .statement-page .nav .logo-name { display: inline; }
.statement-page .nav .back { white-space: nowrap; }
@media (max-width: 720px) {
  html[lang][data-theme] .statement-page .nav .back { padding: 10px 12px; font-size: 13px; }
  .statement { padding-top: 112px; }
}
@media (max-width: 400px) { html[lang][data-theme] .statement-page .nav .logo-name { display: none; } }
