@font-face {
  font-family: "Readex Pro";
  src: url("fonts/readex-latin-400.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0000-00FF, U+2000-206F, U+20AC, U+2122;
}
@font-face {
  font-family: "Readex Pro";
  src: url("fonts/readex-latin-600.woff2") format("woff2");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0000-00FF, U+2000-206F, U+20AC, U+2122;
}
@font-face {
  font-family: "Readex Pro";
  src: url("fonts/readex-latin-700.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0000-00FF, U+2000-206F, U+20AC, U+2122;
}
@font-face {
  font-family: "Readex Pro";
  src: url("fonts/readex-arabic-400.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0600-06FF, U+0750-077F, U+08A0-08FF, U+FB50-FDFF, U+FE70-FEFF;
}
@font-face {
  font-family: "Readex Pro";
  src: url("fonts/readex-arabic-600.woff2") format("woff2");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0600-06FF, U+0750-077F, U+08A0-08FF, U+FB50-FDFF, U+FE70-FEFF;
}
@font-face {
  font-family: "Readex Pro";
  src: url("fonts/readex-arabic-700.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0600-06FF, U+0750-077F, U+08A0-08FF, U+FB50-FDFF, U+FE70-FEFF;
}

:root {
  --asphalt: #101412;
  --lane: #1a221c;
  --panel: #0c5c3c;
  --panel-deep: #08462e;
  --legend: #f4f7f1;
  --legend-dim: #f3f7f1;
  --yellow: #f0c419;
  --ink: #1a1504;
  --focus: #ffe27a;
  --measure: 68ch;
  color-scheme: dark;
}

* { box-sizing: border-box; }

html {
  scrollbar-color: var(--yellow) var(--asphalt);
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: "Readex Pro", "Segoe UI", Tahoma, sans-serif;
  font-size: 1.125rem;
  line-height: 1.65;
  color: var(--legend);
  background: linear-gradient(#161c18, #0c100e);
  background-color: var(--asphalt);
}

::selection {
  background: var(--yellow);
  color: var(--ink);
}

:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 3px;
}

a { color: inherit; }

.skip {
  position: absolute;
  inset-inline-start: 1rem;
  top: -4rem;
  background: var(--yellow);
  color: var(--ink);
  padding: .5rem 1rem;
  z-index: 5;
}
.skip:focus { top: 1rem; }

.road {
  width: min(72rem, calc(100% - 2rem));
  margin: 0 auto;
  padding: 1.5rem 0 3rem;
}

.sign,
.panel {
  position: relative;
  background:
    linear-gradient(180deg, rgba(255,255,255,.14), transparent 28%),
    linear-gradient(180deg, #14784c, var(--panel) 38%, var(--panel-deep));
  border: .55rem solid var(--legend);
  border-radius: 1.1rem;
  box-shadow: 0 1.25rem 2rem rgba(0, 0, 0, .42);
}

.sign { padding: 1.4rem 1.6rem 1.5rem 1.6rem; overflow: hidden; }

.sign::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(105deg, transparent 40%, rgba(255,255,255,.2) 50%, transparent 60%);
  transform: translateX(120%);
  animation: sheen 1.5s cubic-bezier(.16, 1, .3, 1) .2s 1 both;
  pointer-events: none;
}

[dir="ltr"] .sign::after { transform: translateX(-120%); }

@keyframes sheen {
  from { transform: translateX(130%); }
  to { transform: translateX(-130%); }
}

[dir="ltr"] .sign::after {
  animation-name: sheen-ltr;
}

@keyframes sheen-ltr {
  from { transform: translateX(-130%); }
  to { transform: translateX(130%); }
}

.mount {
  position: absolute;
  inset-inline-start: .55rem;
  top: 14%;
  bottom: 14%;
  width: .38rem;
  border-radius: .2rem;
  background: #24302b;
  box-shadow: 0 .4rem .6rem rgba(0,0,0,.35);
}

.route {
  position: absolute;
  inset-inline-start: 1.15rem;
  top: 5.2rem;
  bottom: 6.5rem;
  width: 3px;
  background: var(--yellow);
  transform-origin: top;
  transform: scaleY(0);
  animation: draw .9s cubic-bezier(.16, 1, .3, 1) .15s forwards;
}

@keyframes draw { to { transform: scaleY(1); } }

.bolt {
  position: absolute;
  width: .7rem;
  height: .7rem;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 35%, #fff, #c5cdc4 45%, #6d776f);
  box-shadow: 0 2px 0 rgba(0,0,0,.35);
  z-index: 1;
}
.b1 { top: .45rem; inset-inline-start: .45rem; }
.b2 { top: .45rem; inset-inline-end: .45rem; }
.b3 { bottom: .45rem; inset-inline-start: .45rem; }
.b4 { bottom: .45rem; inset-inline-end: .45rem; }

.sign-top,
.legends,
.destinations,
.panel-head,
.steps,
.actions { position: relative; z-index: 1; }

.sign-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  margin-inline-start: 1.2rem;
}

.shield {
  margin: 0;
  letter-spacing: .08em;
  font-size: .95rem;
  color: var(--legend);
}

#lang,
.textlink {
  font: inherit;
  cursor: pointer;
}

#lang {
  background: var(--legend);
  color: var(--panel-deep);
  border: 0;
  border-radius: .35rem;
  padding: .35rem .8rem;
  font-weight: 700;
}

#lang:hover { background: #fff; }

.legends {
  margin-inline-start: 1.35rem;
  max-width: var(--measure);
}

h1 {
  margin: .6rem 0 0;
  font-size: clamp(3.2rem, 8vw, 6rem);
  line-height: .95;
  font-weight: 700;
  letter-spacing: -0.03em;
  text-wrap: balance;
}

.latin {
  margin: .35rem 0 0;
  font-size: clamp(1.4rem, 3vw, 2rem);
  font-weight: 600;
  color: var(--legend-dim);
}

.offer {
  margin: 1rem 0 0;
  max-width: 40rem;
  font-size: 1.35rem;
  color: var(--legend);
}

.exit {
  display: inline-block;
  margin-top: 1.25rem;
  background: var(--yellow);
  color: var(--ink);
  text-decoration: none;
  font-weight: 700;
  font-size: 1.2rem;
  padding: .75rem 1.2rem;
  border-radius: .4rem;
  box-shadow: 0 .45rem .9rem rgba(0, 0, 0, .28);
}

.exit:hover { background: #ffd84a; }

.destinations {
  list-style: none;
  margin: 1.4rem 0 0;
  padding: .8rem 0 0;
  border-top: 2px solid rgba(244, 247, 241, .55);
}

.destinations a,
.unlit {
  display: flex;
  align-items: baseline;
  gap: .6rem;
  text-decoration: none;
  font-weight: 700;
  font-size: 1.25rem;
  padding: .35rem 0;
}

.destinations a:hover { color: var(--yellow); }

.leader {
  flex: 1;
  border-bottom: 2px dotted rgba(244, 247, 241, .7);
  transform: translateY(-.25rem);
}

.host {
  font-weight: 400;
  font-size: 1rem;
  color: var(--legend-dim);
}

.unlit {
  font-weight: 400;
  color: var(--legend-dim);
  font-size: 1.05rem;
}

main { margin-top: 2.75rem; }

.panel { padding: 1.6rem 1.5rem 1.7rem; }

.panel-head {
  display: flex;
  gap: 1rem;
  align-items: center;
}

.panel-head img {
  width: 4.5rem;
  height: 4.5rem;
  object-fit: contain;
  background: #f7f8fc;
  border-radius: .8rem;
}

h2 {
  margin: 0;
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1.1;
  letter-spacing: -0.03em;
}

.panel-head p {
  margin: .35rem 0 0;
  max-width: var(--measure);
  color: var(--legend);
}

.steps {
  list-style: none;
  margin: 1.6rem 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem 1.25rem;
}

.steps li {
  padding-top: .8rem;
  border-top: 2px solid rgba(244, 247, 241, .55);
}

.steps strong,
.steps span { display: block; }

.steps strong { font-size: 1.2rem; }

.steps span {
  margin-top: .35rem;
  color: var(--legend-dim);
}

.sample {
  margin: 1.6rem 0 0;
  padding: 1rem 1rem .9rem;
  background: var(--panel-deep);
  border-radius: .5rem;
}

.sample figcaption {
  font-weight: 700;
  color: var(--yellow);
}

.url {
  margin: .4rem 0 .8rem;
  font-size: 1rem;
  color: var(--legend);
  overflow-wrap: anywhere;
}

.cards {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: .6rem;
  margin: 0;
  padding: 0;
}

.cards li {
  background: var(--legend);
  color: var(--panel-deep);
  border-radius: .35rem;
  padding: .45rem .7rem;
  min-width: 8rem;
}

.cards b,
.cards span { display: block; }

.cards b { font-size: 1.05rem; }

.plus {
  margin: 1.4rem 0 0;
  max-width: var(--measure);
  padding-top: 1rem;
  border-top: 2px solid var(--yellow);
  font-size: 1.15rem;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .9rem 1.2rem;
}

.actions .exit { margin-top: 0; }

.textlink {
  color: var(--legend);
  font-weight: 700;
  text-underline-offset: .25rem;
}

.textlink:hover { color: var(--yellow); }

.fine,
footer p {
  color: var(--legend-dim);
  font-size: 1rem;
}

footer { margin-top: 2rem; }

.live {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
}

@media (max-width: 800px) {
  .steps { grid-template-columns: 1fr; }
  h1 { font-size: 3.1rem; }
  .sign, .panel { border-width: .4rem; }
  .road { width: min(72rem, calc(100% - 1rem)); }
}

@media (prefers-reduced-motion: reduce) {
  .sign::after,
  .route { animation: none; }
  .route { transform: none; }
  .sign::after { opacity: 0; }
}
