/* Pepenero — shared design tokens (monochrome Italian: white paper, black ink) */
:root {
  --ink: #1a1a1a;
  --body: #2f2f2f;
  --muted: #8a8a86;
  --soft: #6f6f6f;
  --bg: #ffffff;
  --paper: #ffffff;
  --line: #ececea;
  --row-line: #f1f1ef;
  --rule: #8f8f8b;
  --red: #9d1d1d;
  --serif: 'Marcellus SC', serif;
  --sans: 'Jost', 'Avenir Next', sans-serif;
  --arabic: 'Noto Kufi Arabic', 'Geeza Pro', sans-serif;
  --script: 'Caveat', cursive;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { font-family: var(--sans); color: var(--body); background: var(--bg); }
.ar { font-family: var(--arabic); direction: rtl; }
img { display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; border: 0; background: none; cursor: pointer; color: inherit; }

.land-foot {
  margin-top: auto;
  padding-top: 26px;
  text-align: center;
  font-size: 9.5px;
  font-weight: 300;
  letter-spacing: 1.6px;
  text-transform: uppercase;
  color: var(--muted);
}

/* "powered by tybl" credit (links to tybl.co) — shared by landing + menu footers.
   Deliberately flat: no pill, no accent colour, sits straight on the page
   background so it reads as a credit line rather than a second brand. */
.powered {
  width: max-content;
  margin: 18px auto 0;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 9px 10px;
  border-radius: 999px;
  -webkit-tap-highlight-color: transparent;
}
.powered small {
  font-size: 8.5px;
  font-weight: 500;
  letter-spacing: 2.4px;
  text-transform: uppercase;
  color: var(--muted);
}
.powered img {
  width: auto;
  height: 12px;
  /* the 'y' descender hangs below the baseline — nudge up so the wordmark
     optically centres against the uppercase label */
  margin-bottom: 2px;
  opacity: .72;
  transition: opacity .25s ease;
}
.powered:hover img,
.powered:focus-visible img { opacity: 1; }
.powered:focus-visible { outline: 1px solid var(--muted); outline-offset: 2px; }

/* sticky top bar w/ back button — shared by menu + info pages */
.mheader { position: sticky; top: 0; z-index: 51; }
.mtop {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg);
  padding: calc(16px + env(safe-area-inset-top, 0px)) 16px 6px;
}
@media (min-width: 768px) { .mtop { padding-top: 58px; } }
.mtop .back {
  position: absolute;
  left: 14px;
  bottom: 8px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--ink);
  background: #f2f2f0;
}
.mtop .mlogo { height: 52px; width: auto; mix-blend-mode: multiply; }

/* info card — rows of icon + label, used on the info page */
.info-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 6px 18px;
  box-shadow: 0 8px 26px rgba(0, 0, 0, .05);
}
.info-row {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 13px 0;
  font-size: 13px;
  font-weight: 400;
  color: var(--body);
}
.info-row + .info-row { border-top: 1px solid var(--row-line); }
.info-row .ico {
  flex: none;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #f2f2f0;
  color: var(--ink);
}
.info-row b { display: block; font-weight: 500; color: var(--ink); font-size: 13px; }
.info-row small { display: block; font-weight: 300; color: var(--muted); font-size: 11.5px; margin-top: 1px; }
.info-row .go { margin-left: auto; color: #b9b9b4; }

/* Phone shell: full-screen on mobile, iPhone frame on desktop */
.phone { position: relative; height: 100dvh; background: var(--bg); }
.screen {
  height: 100%;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  scroll-behavior: smooth;
}
.screen::-webkit-scrollbar { display: none; }
.screen { scrollbar-width: none; }

@media (min-width: 768px) {
  body {
    height: 100vh;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 32px 16px;
    background: #141311 radial-gradient(1100px 700px at 50% -10%, #2b2b28, #141311 62%);
  }
  .phone {
    width: 393px;
    height: 852px;
    flex: none;
    border-radius: 56px;
    overflow: hidden;
    box-shadow:
      0 0 0 12px #0c0b09,
      0 0 0 14px #403c36,
      0 42px 90px rgba(0, 0, 0, .65);
  }
  .phone::after {
    content: "";
    position: absolute;
    top: 13px;
    left: 50%;
    transform: translateX(-50%);
    width: 116px;
    height: 32px;
    background: #0c0b09;
    border-radius: 18px;
    z-index: 80;
    pointer-events: none;
  }
}
/* shrink the frame on shorter screens so the bezel never clips */
@media (min-width: 768px) and (max-height: 950px) {
  .phone { transform: scale(.9); }
}
@media (min-width: 768px) and (max-height: 850px) {
  .phone { transform: scale(.8); }
}
@media (min-width: 768px) and (max-height: 760px) {
  .phone { transform: scale(.7); }
}
