/* wavilu.com: one stylesheet for both languages. No web fonts, no trackers. */
:root {
  --blue: #246fe5;
  --blue-deep: #1a55b8;
  --orange: #f5822a;
  --ink: #0d1a38;
  --ink-soft: #46506a;
  --page: #f6f8fc;
  --card: #ffffff;
  --line: #e1e6f0;
  --live: #7b3fe4;
  --ok: #1f8a4c;
  color-scheme: light dark;
}
@media (prefers-color-scheme: dark) {
  :root {
    --ink: #eef2fa;
    --ink-soft: #aab4c8;
    --page: #0b1222;
    --card: #131c30;
    --line: #26314a;
    --blue: #4687ed;
    --blue-deep: #6a9ff1;
  }
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}
body {
  margin: 0;
  background: var(--page);
  color: var(--ink);
  font:
    17px/1.6 -apple-system,
    BlinkMacSystemFont,
    'Segoe UI',
    'Geeza Pro',
    Tahoma,
    sans-serif;
}
[lang='ar'] body,
body[lang='ar'] {
  line-height: 1.8;
}
a {
  color: var(--blue);
}
a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible {
  outline: 3px solid var(--orange);
  outline-offset: 3px;
}
.skip {
  position: absolute;
  inset-inline-start: -999px;
}
.skip:focus {
  inset-inline-start: 16px;
  top: 16px;
  background: var(--card);
  padding: 8px 12px;
  border-radius: 8px;
  z-index: 10;
}
.wrap {
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 24px;
}
header.top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 22px 0;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  text-decoration: none;
  font-weight: 800;
  font-size: 26px;
  letter-spacing: -0.5px;
  direction: ltr;
}
.brand img {
  width: 38px;
  height: 38px;
  border-radius: 11px;
}
.lang {
  font-weight: 600;
  text-decoration: none;
  padding: 8px 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--ink);
  background: var(--card);
}
.hero {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 48px;
  align-items: center;
  padding: 40px 0 72px;
}
@media (max-width: 820px) {
  .hero {
    grid-template-columns: 1fr;
    padding-top: 16px;
  }
}
h1 {
  font-size: clamp(36px, 6vw, 58px);
  line-height: 1.08;
  letter-spacing: -1.5px;
  margin: 0 0 20px;
}
[dir='rtl'] h1 {
  letter-spacing: 0;
  line-height: 1.3;
}
h1 em {
  font-style: normal;
  color: var(--blue);
}
.lede {
  font-size: 20px;
  color: var(--ink-soft);
  margin: 0 0 28px;
  max-width: 34em;
}
.cta {
  display: inline-block;
  background: var(--blue);
  color: #fff;
  text-decoration: none;
  font-weight: 700;
  padding: 15px 26px;
  border-radius: 14px;
  border: 0;
  font-size: 18px;
  cursor: pointer;
}
.cta:hover {
  background: var(--blue-deep);
}
.small {
  font-size: 15px;
  color: var(--ink-soft);
  margin-top: 14px;
}
/* A phone, drawn in CSS: the conversation screen while someone signs. */
.phone {
  justify-self: center;
  width: min(300px, 80vw);
  aspect-ratio: 9 / 18.5;
  border-radius: 40px;
  background: #0a0f1c;
  padding: 12px;
  box-shadow: 0 30px 60px -30px rgba(13, 26, 56, 0.45);
}
.screen {
  height: 100%;
  border-radius: 30px;
  overflow: hidden;
  position: relative;
  background: radial-gradient(120% 70% at 50% 30%, #3b5b93 0%, #1a2742 60%, #101828 100%);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.screen .badge {
  margin: 18px;
  align-self: flex-start;
}
.badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(0, 0, 0, 0.55);
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  border-radius: 999px;
  padding: 6px 12px;
}
.dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #ff3b30;
}
.signer {
  position: absolute;
  inset: 22% 18% 30%;
  display: grid;
  place-items: center;
}
.signer .head {
  width: 34%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: #f0c7a4;
}
.signer .body {
  position: absolute;
  bottom: -35%;
  width: 90%;
  height: 55%;
  border-radius: 45% 45% 10% 10%;
  background: var(--orange);
}
.signer .hand {
  position: absolute;
  width: 18%;
  aspect-ratio: 1;
  border-radius: 40%;
  background: #f0c7a4;
  top: 48%;
}
.signer .hand.l {
  left: 2%;
  transform: rotate(-18deg);
}
.signer .hand.r {
  right: 2%;
  top: 38%;
  transform: rotate(14deg);
}
.caption {
  margin: 0 18px 12px;
  background: rgba(0, 0, 0, 0.72);
  color: #fff;
  text-align: center;
  border-radius: 8px;
  padding: 6px 10px;
  font-size: 14px;
  font-weight: 600;
}
.tray {
  display: flex;
  gap: 8px;
  padding: 0 14px 18px;
}
.tray span {
  flex: 1;
  height: 46px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.14);
  border: 2px solid rgba(255, 255, 255, 0.18);
}
.tray span.new {
  border-color: var(--orange);
}
section {
  padding: 56px 0;
}
h2 {
  font-size: clamp(28px, 4vw, 38px);
  letter-spacing: -0.8px;
  margin: 0 0 12px;
}
[dir='rtl'] h2 {
  letter-spacing: 0;
}
.intro {
  color: var(--ink-soft);
  font-size: 19px;
  margin: 0 0 32px;
  max-width: 40em;
}
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  counter-reset: step;
  padding: 0;
  margin: 0;
  list-style: none;
}
.grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
@media (max-width: 820px) {
  .steps,
  .grid {
    grid-template-columns: 1fr;
  }
}
.card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 24px;
}
.card h3 {
  margin: 0 0 8px;
  font-size: 20px;
}
.card p {
  margin: 0;
  color: var(--ink-soft);
}
.steps .card::before {
  counter-increment: step;
  content: counter(step);
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--blue);
  color: #fff;
  font-weight: 800;
  margin-bottom: 14px;
}
.join {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 28px;
  padding: clamp(24px, 5vw, 48px);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
}
@media (max-width: 820px) {
  .join {
    grid-template-columns: 1fr;
  }
}
form {
  display: grid;
  gap: 14px;
}
label {
  font-weight: 600;
  display: grid;
  gap: 6px;
}
label span.opt {
  font-weight: 400;
  color: var(--ink-soft);
}
input,
textarea {
  font: inherit;
  color: var(--ink);
  background: var(--page);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 12px 14px;
  width: 100%;
}
textarea {
  min-height: 96px;
  resize: vertical;
}
input[type='email'] {
  direction: ltr;
}
[dir='rtl'] input[type='email'] {
  text-align: right;
}
.trap {
  position: absolute;
  inset-inline-start: -9999px;
  height: 0;
  overflow: hidden;
}
.status {
  min-height: 1.6em;
  font-weight: 600;
  margin: 0;
}
.status.ok {
  color: var(--ok);
}
.status.error {
  color: #cb2233;
}
footer {
  padding: 40px 0 56px;
  color: var(--ink-soft);
  font-size: 15px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px 24px;
  justify-content: space-between;
}
footer a {
  color: var(--ink-soft);
}
