/* FUTCHY — futchy.co */
@font-face {
  font-family: "Anton";
  src: url("/fonts/anton-latin-400-normal.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

:root {
  --ink: #06141d;
  --deep: #0a2433;
  --panel: #0d2a3a;
  --sand: #f5ead6;
  --sun: #ffb347;
  --aqua: #27d9d4;
  --muted: #a8bcc6;
  --line: rgba(255, 255, 255, 0.14);
  --gutter: clamp(16px, 5vw, 64px);
  --max: 1280px;
  --radius: 22px;
  --display: "Anton", "Impact", "Haettenschweiler", "Arial Narrow Bold", sans-serif;
  --body: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 76px; }
body {
  margin: 0;
  background: var(--ink);
  color: var(--sand);
  font: 400 1rem/1.6 var(--body);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, picture { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3, p, figure { margin: 0; }
:focus-visible { outline: 3px solid var(--aqua); outline-offset: 3px; border-radius: 6px; }

.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 {
  position: fixed; left: 12px; top: -80px; z-index: 100; background: var(--sand); color: var(--ink);
  padding: 10px 16px; border-radius: 10px; font-weight: 700; text-decoration: none;
}
.skip:focus { top: 12px; }
.wrap { width: 100%; max-width: var(--max); margin-inline: auto; padding-inline: var(--gutter); }

/* ---------- header ---------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  padding-top: env(safe-area-inset-top);
  transition: background-color .3s, box-shadow .3s, backdrop-filter .3s;
}
.site-header.is-solid {
  background: rgba(6, 20, 29, 0.82);
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
  box-shadow: 0 1px 0 var(--line);
}
.site-header__in { display: flex; align-items: center; gap: 24px; height: 68px; }
.brand { display: block; width: 92px; flex: none; }
.brand img { width: 100%; height: auto; filter: drop-shadow(0 2px 8px rgba(0, 0, 0, .4)); }
.nav { display: none; margin-left: auto; gap: 28px; }
.nav a {
  text-decoration: none; font-size: .78rem; font-weight: 700; letter-spacing: .14em;
  text-transform: uppercase; color: var(--sand); opacity: .85;
}
.nav a:hover { opacity: 1; color: var(--aqua); }
.site-header .cta { margin-left: auto; }
@media (min-width: 860px) {
  .nav { display: flex; }
  .site-header .cta { margin-left: 8px; }
}

/* ---------- CTA (App Store) ---------- */
.cta {
  appearance: none; border: 0; cursor: pointer; font: inherit; color: var(--ink);
  display: inline-flex; flex-direction: column; justify-content: center; align-items: flex-start;
  gap: 1px; text-decoration: none; text-align: left;
  background: var(--sand); border-radius: 14px; padding: 9px 22px 10px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, .35), inset 0 -3px 0 rgba(0, 0, 0, .12);
  transition: transform .18s ease, box-shadow .18s ease, background-color .18s;
  -webkit-tap-highlight-color: transparent;
}
.cta__small { font-size: .62rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; opacity: .72; line-height: 1.2; }
.cta__big { font-family: var(--display); font-size: 1.5rem; letter-spacing: .03em; text-transform: uppercase; line-height: 1.1; }
@media (hover: hover) {
  .cta:hover { transform: translateY(-2px); background: #fff; box-shadow: 0 16px 38px rgba(0, 0, 0, .4), inset 0 -3px 0 rgba(0, 0, 0, .12); }
}
.cta:active { transform: translateY(1px); }
.cta--header { padding: 6px 14px 7px; border-radius: 11px; box-shadow: none; }
.cta--header .cta__small { font-size: .5rem; }
.cta--header .cta__big { font-size: 1.05rem; }
.cta--hero, .cta--final { padding: 12px 30px 13px; border-radius: 18px; }
.cta--hero .cta__big, .cta--final .cta__big { font-size: 2rem; }
.cta--hero .cta__small, .cta--final .cta__small { font-size: .7rem; }
.cta[data-cta-pending] { cursor: default; }

/* ---------- hero ---------- */
.hero {
  position: relative; isolation: isolate; overflow: hidden;
  min-height: 100vh; min-height: 100svh;
  display: flex; align-items: flex-end;
  padding: 120px 0 clamp(88px, 14vh, 140px);
}
.hero__media { position: absolute; inset: -5% 0; z-index: -2; transform: translate3d(0, calc(var(--p, 0) * 1px), 0); will-change: transform; }
.hero__media picture, .hero__media img, .final__media picture, .final__media img { width: 100%; height: 100%; }
.hero__media img { object-fit: cover; object-position: 60% 40%; }
.hero__shade {
  position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background:
    linear-gradient(0deg, rgba(4, 14, 24, .92) 0%, rgba(4, 14, 24, .5) 38%, rgba(4, 14, 24, 0) 70%),
    linear-gradient(90deg, rgba(4, 14, 24, .72) 0%, rgba(4, 14, 24, .25) 48%, rgba(4, 14, 24, 0) 72%);
}
.hero__body { display: flex; flex-direction: column; align-items: flex-start; gap: 22px; }
.hero__logo { width: clamp(220px, 36vw, 470px); height: auto; filter: drop-shadow(0 8px 24px rgba(0, 0, 0, .45)); }
.hero__title {
  font-family: var(--display); font-weight: 400; text-transform: uppercase;
  font-size: clamp(3.6rem, 12.5vw, 10rem); line-height: .9; letter-spacing: .01em;
  color: var(--sand); text-shadow: 0 6px 40px rgba(0, 0, 0, .45);
}
.dot { color: var(--sun); }
.hero__cta { margin-top: 6px; }
.scroll-cue {
  position: absolute; left: 50%; bottom: max(18px, env(safe-area-inset-bottom)); transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 8px; text-decoration: none;
  font-size: .66rem; font-weight: 700; letter-spacing: .24em; text-transform: uppercase; color: var(--sand); opacity: .85;
}
.scroll-cue i { display: block; width: 1px; height: 38px; background: linear-gradient(var(--sand), transparent); transform-origin: top; animation: cue 2.2s ease-in-out infinite; }
@keyframes cue { 0% { transform: scaleY(0); opacity: 0; } 40% { opacity: 1; } 100% { transform: scaleY(1); opacity: 0; } }
@media (max-width: 720px) {
  .hero__media img { object-position: 42% 50%; }
  .hero__shade { background: linear-gradient(0deg, rgba(4, 14, 24, .94) 0%, rgba(4, 14, 24, .62) 42%, rgba(4, 14, 24, 0) 78%); }
  .hero { padding-bottom: 96px; }
}

/* ---------- sections ---------- */
.section { padding-block: clamp(72px, 11vw, 150px); position: relative; }
.section__head { margin-bottom: clamp(28px, 5vw, 56px); }
.eyebrow { font-size: .78rem; font-weight: 700; letter-spacing: .22em; text-transform: uppercase; color: var(--aqua); margin-bottom: 12px; }
.h2 { font-family: var(--display); font-weight: 400; text-transform: uppercase; font-size: clamp(2.6rem, 7.5vw, 5.6rem); line-height: .96; letter-spacing: .01em; }
.world { background: linear-gradient(180deg, var(--ink), var(--deep) 18%, var(--deep) 82%, var(--ink)); }

/* trailer */
.trailer__frame {
  position: relative; aspect-ratio: 16 / 9; overflow: hidden; border-radius: var(--radius);
  background: #000; box-shadow: 0 40px 90px rgba(0, 0, 0, .55), 0 0 0 1px var(--line);
}
.trailer__frame picture, .trailer__frame img, .trailer__frame video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.trailer__frame > picture::after { content: ""; position: absolute; inset: 0; background: rgba(4, 14, 24, .5); }
.trailer__play {
  position: absolute; inset: 0; width: 100%; display: grid; place-content: center; justify-items: center; gap: 16px;
  background: none; border: 0; color: var(--sand); font: inherit; cursor: pointer; padding: 0 16px; text-align: center;
}
.is-soon .trailer__play { cursor: default; }
.trailer__ring {
  position: relative; width: clamp(64px, 9vw, 96px); aspect-ratio: 1; border-radius: 50%;
  border: 2px solid var(--sand); background: rgba(6, 20, 29, .35);
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
  transition: transform .25s ease, background-color .25s;
}
.trailer__ring::after {
  content: ""; position: absolute; left: 54%; top: 50%; transform: translate(-50%, -50%);
  border-style: solid; border-width: 12px 0 12px 20px; border-color: transparent transparent transparent var(--sand);
}
.trailer__label { font-size: .78rem; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; }
@media (hover: hover) { button.trailer__play:hover .trailer__ring { transform: scale(1.08); background: rgba(39, 217, 212, .3); } }

/* world bento */
.bento { display: grid; gap: clamp(12px, 1.6vw, 20px); grid-template-columns: 1fr; }
.tile { position: relative; overflow: hidden; border-radius: var(--radius); background: var(--panel); aspect-ratio: 4 / 3; isolation: isolate; box-shadow: 0 0 0 1px var(--line); }
.tile--circles { aspect-ratio: 1 / 1; }
.tile__img { position: absolute; inset: -6% 0; transform: translate3d(0, var(--py, 0px), 0); will-change: transform; }
.tile__img picture, .tile__img img { width: 100%; height: 100%; }
.tile__img img { object-fit: cover; transition: transform .8s cubic-bezier(.2, .7, .2, 1); }
@media (hover: hover) { .tile:hover .tile__img img { transform: scale(1.04); } }
.tile::after { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(0deg, rgba(4, 14, 24, .82) 0%, rgba(4, 14, 24, 0) 46%); pointer-events: none; }
.tile__cap { position: absolute; z-index: 2; left: clamp(16px, 2.2vw, 28px); bottom: clamp(14px, 2vw, 26px); right: 16px; display: flex; flex-direction: column; gap: 2px; }
.tile__cap b { font-family: var(--display); font-weight: 400; text-transform: uppercase; letter-spacing: .02em; font-size: clamp(1.8rem, 3.6vw, 2.8rem); line-height: 1; }
.tile__cap span { font-size: .95rem; color: var(--sand); opacity: .85; }
@media (min-width: 900px) {
  .bento { grid-template-columns: repeat(12, 1fr); grid-auto-rows: clamp(280px, 30vw, 470px); }
  .tile { aspect-ratio: auto; }
  .tile--circles { grid-column: span 5; }
  .tile--foot { grid-column: span 7; }
  .tile--court { grid-column: span 7; }
  .tile--beach { grid-column: span 5; }
}

/* play your way */
.play { background: var(--ink); }
.play-grid { display: grid; gap: clamp(14px, 2vw, 24px); grid-template-columns: 1fr; }
@media (min-width: 900px) { .play-grid { grid-template-columns: 1fr 1fr; } }
.pcard { position: relative; overflow: hidden; border-radius: var(--radius); background: var(--panel); box-shadow: 0 0 0 1px var(--line); display: flex; flex-direction: column; }
.pcard__media { position: relative; aspect-ratio: 16 / 11; overflow: hidden; }
.pcard__media picture, .pcard__media img { width: 100%; height: 100%; }
.pcard__media img { object-fit: cover; transition: transform .8s cubic-bezier(.2, .7, .2, 1); }
@media (hover: hover) { .pcard:hover .pcard__media img { transform: scale(1.04); } }
.pcard__text { position: relative; display: grid; grid-template-columns: auto 1fr; column-gap: 18px; align-items: baseline; padding: 20px clamp(18px, 2.4vw, 30px) 26px; }
.pcard__n { grid-row: span 2; font-family: var(--display); font-size: 2.6rem; line-height: 1; color: var(--sun); }
.pcard h3 { font-family: var(--display); font-weight: 400; text-transform: uppercase; letter-spacing: .02em; font-size: clamp(1.6rem, 3vw, 2.2rem); line-height: 1.05; }
.pcard p { color: var(--muted); }
/* a slot is a clearly marked placeholder for a real in-game screenshot */
.slot {
  position: absolute; inset: 0; display: grid; place-items: center; padding: 20px; text-align: center;
  background: repeating-linear-gradient(135deg, rgba(39, 217, 212, .08) 0 14px, rgba(39, 217, 212, .02) 14px 28px), var(--deep);
  outline: 2px dashed rgba(39, 217, 212, .55); outline-offset: -14px;
}
.slot__badge { font-size: .72rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--aqua); max-width: 28ch; }

/* final CTA */
.final { position: relative; isolation: isolate; overflow: hidden; display: grid; place-items: center; min-height: 86vh; min-height: 86svh; text-align: center; padding: 110px 0; }
.final__media { position: absolute; inset: -10% 0; z-index: -2; transform: translate3d(0, var(--py, 0px), 0); will-change: transform; }
.final__media img { object-fit: cover; object-position: 60% 40%; }
.hero__shade--final { background: radial-gradient(ellipse at center, rgba(4, 14, 24, .55) 0%, rgba(4, 14, 24, .88) 75%), linear-gradient(0deg, var(--ink) 0%, transparent 25%); }
.final__body { display: flex; flex-direction: column; align-items: center; gap: 32px; }
.final__title { display: flex; flex-direction: column; align-items: center; gap: 10px; font-weight: 400; }
.final__brand { font-family: var(--display); text-transform: uppercase; font-size: clamp(5rem, 22vw, 16rem); line-height: .85; letter-spacing: .02em; color: var(--sand); text-shadow: 0 8px 50px rgba(0, 0, 0, .5); }
.final__line { font-family: var(--display); text-transform: uppercase; font-size: clamp(1.6rem, 5vw, 3.2rem); letter-spacing: .08em; color: var(--sand); }

/* footer */
.site-footer { background: var(--ink); border-top: 1px solid var(--line); padding: 44px 0 calc(44px + env(safe-area-inset-bottom)); }
.site-footer__in { display: grid; gap: 22px 32px; grid-template-columns: 1fr; align-items: center; }
.brand--foot { width: 96px; opacity: .9; }
.footer-nav { display: flex; flex-wrap: wrap; gap: 8px 28px; }
.footer-nav a { font-size: .9rem; font-weight: 600; text-decoration: none; letter-spacing: .04em; padding: 6px 0; }
.footer-nav a:hover { color: var(--aqua); }
.copy { font-size: .9rem; color: var(--muted); }
.fine { font-size: .75rem; color: #6f8794; }
@media (min-width: 860px) {
  .site-footer__in { grid-template-columns: auto 1fr auto; }
  .footer-nav { justify-content: center; }
  .fine { grid-column: 1 / -1; }
}

/* ---------- document pages (privacy, support, 404) ---------- */
.doc-page .site-header { background: rgba(6, 20, 29, 0.9); box-shadow: 0 1px 0 var(--line); }
.doc { padding: calc(68px + clamp(48px, 9vw, 110px)) 0 clamp(72px, 10vw, 130px); }
.doc__in { max-width: 760px; margin-inline: auto; padding-inline: var(--gutter); }
.doc h1 { font-family: var(--display); font-weight: 400; text-transform: uppercase; font-size: clamp(2.8rem, 8vw, 5rem); line-height: .98; letter-spacing: .01em; margin-bottom: 14px; }
.doc .lede { font-size: 1.15rem; color: var(--sand); opacity: .92; margin-bottom: 8px; }
.doc .meta { font-size: .85rem; color: var(--muted); margin-bottom: 40px; }
.doc h2 { font-family: var(--display); font-weight: 400; text-transform: uppercase; letter-spacing: .02em; font-size: 1.7rem; line-height: 1.1; margin: 48px 0 12px; color: var(--sand); }
.doc h3 { font-size: 1.05rem; margin: 26px 0 6px; color: var(--sand); }
.doc p, .doc li { color: #d6dfe3; }
.doc p { margin: 0 0 14px; }
.doc ul { padding-left: 1.25em; margin: 0 0 14px; }
.doc li { margin-bottom: 8px; }
.doc a { color: var(--aqua); text-underline-offset: 3px; }
.doc a:hover { color: #fff; }
.doc strong { color: var(--sand); }
.doc .box { background: var(--panel); border: 1px solid var(--line); border-radius: 16px; padding: 18px 22px; margin: 18px 0 26px; }
.doc .box p:last-child { margin-bottom: 0; }
.toc { background: var(--panel); border: 1px solid var(--line); border-radius: 16px; padding: 18px 22px 10px; margin: 0 0 8px; }
.toc p { font-size: .75rem; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: var(--aqua); margin-bottom: 10px; }
.toc ol { margin: 0; padding-left: 1.2em; columns: 2; column-gap: 28px; }
.toc li { font-size: .92rem; margin-bottom: 6px; break-inside: avoid; }
@media (max-width: 600px) { .toc ol { columns: 1; } }
.support-cards { display: grid; gap: 14px; margin: 26px 0; }
.support-card { background: var(--panel); border: 1px solid var(--line); border-radius: 16px; padding: 20px 22px; }
.support-card h2 { font-size: 1.4rem; margin: 0 0 6px; }
.support-card p { margin: 0; }
.mail-btn { display: inline-block; margin-top: 10px; background: var(--sand); color: var(--ink) !important; font-weight: 700; padding: 12px 22px; border-radius: 12px; text-decoration: none; }
.mail-btn:hover { background: #fff; color: var(--ink) !important; }

/* ---------- motion ---------- */
.js .reveal { opacity: 0; transform: translateY(26px); transition: opacity .8s ease, transform .8s cubic-bezier(.2, .7, .2, 1); }
.js .reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js .reveal { opacity: 1; transform: none; }
  .hero__media, .tile__img, .final__media { transform: none !important; will-change: auto; }
}

/* home: the hero already carries the logo and CTA, so the header shows them only after scrolling */
.home .site-header .brand, .home .site-header .cta { transition: opacity .3s, visibility .3s; }
.home .site-header:not(.is-solid) .brand, .home .site-header:not(.is-solid) .cta { opacity: 0; visibility: hidden; }

/* phone hero: the whole kick fits in the top of the screen, copy sits below it */
@media (max-width: 720px) {
  .hero { background: var(--ink); }
  .hero__media {
    inset: 0 0 auto 0; height: 76vh; height: 76svh;
    -webkit-mask-image: linear-gradient(#000 68%, transparent 100%); mask-image: linear-gradient(#000 68%, transparent 100%);
  }
  .hero__media img { object-position: 50% 50%; }
  .hero__shade { background: linear-gradient(0deg, rgba(4, 14, 24, .9) 0%, rgba(4, 14, 24, .45) 30%, rgba(4, 14, 24, 0) 55%); }
  .hero__logo { position: absolute; top: calc(env(safe-area-inset-top) + 78px); left: var(--gutter); width: min(210px, 56vw); }
}

/* desktop hero: the wide key art is scaled up and anchored left so the players land right of the headline */
@media (min-width: 721px) {
  .hero__media, .final__media { inset: -5% -12% -5% 0; }
  .hero__title { font-size: clamp(3.6rem, 9vw, 8rem); }
  .hero__shade {
    background:
      linear-gradient(0deg, rgba(4, 14, 24, .8) 0%, rgba(4, 14, 24, 0) 46%),
      linear-gradient(90deg, rgba(4, 14, 24, .62) 0%, rgba(4, 14, 24, 0) 52%);
  }
}

/* desktop: logo rides above the headline so it never covers the action at the net */
@media (min-width: 721px) {
  .hero__logo {
    position: absolute; top: calc(env(safe-area-inset-top) + 96px);
    left: max(var(--gutter), calc((100vw - var(--max)) / 2 + var(--gutter)));
    width: clamp(200px, 25vw, 360px);
  }
}

/* trailer: the film is vertical (9:16), so it sits in a phone-shaped frame */
.trailer__grid { display: grid; gap: clamp(28px, 5vw, 56px); align-items: center; justify-items: center; }
.trailer__grid .section__head { justify-self: start; margin-bottom: 0; }
.trailer__hint { margin-top: 14px; color: var(--muted); font-size: 1rem; }
.trailer__frame { aspect-ratio: 9 / 16; width: min(100%, 360px); max-height: 80vh; max-height: 80svh; }
.trailer__frame video { background: #000; object-fit: contain; }
@media (min-width: 900px) {
  .trailer__grid { grid-template-columns: 1fr auto; justify-items: stretch; }
  .trailer__grid .section__head { align-self: center; }
  .trailer__grid > div { justify-self: center; }
  .trailer__frame { width: min(40vw, 420px); }
}
.trailer__grid > .reveal { width: 100%; }
.trailer__frame { width: 100%; max-width: 360px; margin-inline: auto; }
@media (min-width: 900px) {
  .trailer__grid { grid-template-columns: 1fr minmax(300px, 420px); }
  .trailer__frame { max-width: 420px; width: 100%; }
}
.trailer__frame { max-height: none; width: min(100%, 360px, calc(80vh * 9 / 16)); width: min(100%, 360px, calc(80svh * 9 / 16)); }
@media (min-width: 900px) { .trailer__frame { max-width: none; width: min(100%, 420px, calc(80vh * 9 / 16)); width: min(100%, 420px, calc(80svh * 9 / 16)); } }

/* social links */
.social { list-style: none; display: flex; flex-wrap: wrap; gap: 10px; margin: 0; padding: 0; }
.social a {
  display: inline-flex; align-items: baseline; gap: 8px; text-decoration: none;
  padding: 9px 16px; border: 1px solid var(--line); border-radius: 999px; font-size: .9rem;
  transition: border-color .2s, background-color .2s, color .2s;
}
.social span { font-weight: 700; letter-spacing: .04em; }
.social b { font-weight: 400; color: var(--muted); }
.social a:hover { border-color: var(--aqua); color: var(--aqua); background: rgba(39, 217, 212, .06); }
@media (min-width: 860px) { .site-footer__in { grid-template-columns: auto 1fr auto; } .social { grid-column: 1 / -1; justify-content: flex-start; } }
@media (min-width: 860px) {
  .site-footer__in .brand { grid-row: 1; grid-column: 1; }
  .footer-nav { grid-row: 1; grid-column: 2; }
  .copy { grid-row: 1; grid-column: 3; }
  .social { grid-row: 2; grid-column: 1 / -1; }
  .fine { grid-row: 3; }
}

/* social links: logo buttons */
.social a { width: 46px; height: 46px; padding: 0; justify-content: center; align-items: center; border-radius: 50%; }
.social svg { display: block; }

/* privacy: English + Hebrew on one page */
.doc .doc-title { font-family: var(--display); font-weight: 400; text-transform: uppercase; font-size: clamp(2.8rem, 8vw, 5rem); line-height: .98; letter-spacing: .01em; margin: 0 0 14px; }
.doc .doc-h { font-family: var(--display); font-weight: 400; text-transform: uppercase; letter-spacing: .02em; font-size: 1.7rem; line-height: 1.1; margin: 48px 0 12px; color: var(--sand); }
.langswitch { display: flex; gap: 10px; margin: 0 0 28px; }
.langswitch a { text-decoration: none; padding: 8px 18px; border: 1px solid var(--line); border-radius: 999px; font-weight: 700; font-size: .9rem; color: var(--sand); }
.langswitch a:hover { border-color: var(--aqua); color: var(--aqua); }
.doc-rule { border: 0; border-top: 1px solid var(--line); margin: clamp(56px, 9vw, 96px) 0; }
.doc section[id] { scroll-margin-top: 84px; }
.doc [dir="rtl"] { text-align: right; }
.doc [dir="rtl"] ul { padding-left: 0; padding-right: 1.25em; }
.doc [dir="rtl"] .toc ol { padding-left: 0; padding-right: 1.2em; }
.doc [dir="rtl"] .doc-title, .doc [dir="rtl"] .doc-h { font-family: var(--body); font-weight: 800; text-transform: none; letter-spacing: 0; }
.doc [dir="rtl"] .toc p { letter-spacing: 0; }
