/* Aymnco — pre-launch site */

@font-face { font-family: "IBM Plex Sans"; font-weight: 400; font-style: normal; font-display: swap; src: url("/assets/fonts/plex-sans-400.woff2") format("woff2"); }
@font-face { font-family: "IBM Plex Sans"; font-weight: 600; font-style: normal; font-display: swap; src: url("/assets/fonts/plex-sans-600.woff2") format("woff2"); }
@font-face { font-family: "IBM Plex Sans"; font-weight: 700; font-style: normal; font-display: swap; src: url("/assets/fonts/plex-sans-700.woff2") format("woff2"); }
@font-face { font-family: "IBM Plex Sans Arabic"; font-weight: 400; font-style: normal; font-display: swap; src: url("/assets/fonts/plex-sans-arabic-400.woff2") format("woff2"); }
@font-face { font-family: "IBM Plex Sans Arabic"; font-weight: 600; font-style: normal; font-display: swap; src: url("/assets/fonts/plex-sans-arabic-600.woff2") format("woff2"); }
@font-face { font-family: "IBM Plex Sans Arabic"; font-weight: 700; font-style: normal; font-display: swap; src: url("/assets/fonts/plex-sans-arabic-700.woff2") format("woff2"); }

:root {
  --ground: #F5F6F3;
  --surface: #FFFFFF;
  --ink: #10212B;
  --ink-2: #33434C;
  --ink-3: #4A5A63;
  --line: #DDE2DD;
  --line-2: #C9D2CC;
  --field: #8C9A92;
  --accent: #0B6E4F;
  --accent-hover: #08513A;
  --dark: #10212B;
  --dark-ink: #E7ECEA;
  --dark-link: #9FE3C6;
  --error-ink: #8A1C1C;
  --error-bg: #FDECEC;
  --ok-ink: #075E3F;
  --ok-bg: #E4F5EC;
  --radius: 8px;
  --max: 1200px;
}

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--ground);
  color: var(--ink);
  font-family: "IBM Plex Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: 17px;
  line-height: 1.6;
}
html[lang="ar"] body { font-family: "IBM Plex Sans Arabic", "IBM Plex Sans", system-ui, sans-serif; font-size: 18px; line-height: 1.8; }

.en { font-family: "IBM Plex Sans", system-ui, sans-serif; }
.ar { font-family: "IBM Plex Sans Arabic", system-ui, sans-serif; }

a { color: var(--accent); }
a:hover { color: var(--accent-hover); }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; border-radius: 4px; }

.skip { position: absolute; inset-inline-start: 12px; top: -60px; background: var(--ink); color: #fff; padding: 10px 16px; border-radius: var(--radius); z-index: 10; text-decoration: none; }
.skip:focus { top: 12px; color: #fff; }

.wrap { max-width: var(--max); margin: 0 auto; padding-inline: 24px; }
.narrow { max-width: 860px; margin: 0 auto; padding-inline: 24px; }

h1, h2, h3 { margin: 0; line-height: 1.15; }
html[lang="ar"] h1, html[lang="ar"] h2, html[lang="ar"] h3 { line-height: 1.35; }
p { margin: 0; }

/* Header */
.site-header { border-bottom: 1px solid var(--line); }
.site-header .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 24px; padding-block: 14px; }
.brand { font-weight: 700; font-size: 20px; color: var(--ink); text-decoration: none; letter-spacing: -0.01em; padding-block: 10px; font-family: "IBM Plex Sans", system-ui, sans-serif; }
.brand:hover { color: var(--ink); }
.nav { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 24px; font-size: 15px; }
html[lang="ar"] .nav { font-size: 16px; }
.nav a { color: var(--ink); text-decoration: none; padding-block: 12px; }
.nav a:hover { color: var(--accent); }

.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 48px; padding: 0 22px; border: 0; border-radius: var(--radius);
  background: var(--accent); color: #fff; font: inherit; font-size: 16px; font-weight: 600;
  text-decoration: none; cursor: pointer;
}
.btn:hover { background: var(--accent-hover); color: #fff; }
.btn[disabled] { opacity: .7; cursor: progress; }
.nav .btn { min-height: 44px; padding: 0 18px; color: #fff; }
.nav .btn:hover { color: #fff; }

/* Hero */
.hero { display: flex; flex-wrap: wrap; gap: 48px; align-items: center; padding-block: 72px 88px; }
.hero-copy { flex: 1 1 480px; min-width: 0; display: flex; flex-direction: column; gap: 24px; }
.pill {
  align-self: flex-start; display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 12px; border: 1px solid var(--line-2); border-radius: 999px;
  font-size: 14px; font-weight: 600; color: var(--ink-2); background: var(--surface);
}
.pill::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--accent); }
.hero h1 { font-size: clamp(34px, 5vw, 56px); line-height: 1.08; font-weight: 700; letter-spacing: -0.02em; }
html[lang="ar"] .hero h1 { font-size: clamp(32px, 4.6vw, 52px); line-height: 1.3; letter-spacing: 0; }
.hero .alt { font-size: 21px; color: var(--ink-2); }
.hero .alt.ar { line-height: 1.6; }
.hero .lead { font-size: 19px; color: var(--ink-2); max-width: 580px; }

/* Waitlist form */
.waitlist { display: flex; flex-direction: column; gap: 10px; max-width: 540px; }
.waitlist label { font-size: 15px; font-weight: 600; }
.waitlist .row { display: flex; flex-wrap: wrap; gap: 10px; }
.waitlist input[type="email"] {
  flex: 1 1 260px; min-width: 0; min-height: 48px; padding: 0 14px;
  border: 1px solid var(--field); border-radius: var(--radius);
  font-family: "IBM Plex Sans", system-ui, sans-serif; font-size: 16px; color: var(--ink); background: var(--surface);
}
html[lang="ar"] .waitlist input[type="email"] { text-align: right; }
.waitlist input[type="email"]:focus { border-color: var(--accent); }
.waitlist .note { font-size: 14px; color: var(--ink-3); }
html[lang="ar"] .waitlist .note { font-size: 15px; }
.hp { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.status { display: none; padding: 14px 16px; border-radius: var(--radius); font-size: 16px; }
.status.is-shown { display: block; }
.status.ok { background: var(--ok-bg); color: var(--ok-ink); }
.status.error { background: var(--error-bg); color: var(--error-ink); }

/* Route card */
.card {
  flex: 1 1 380px; min-width: 0; background: var(--surface); border: 1px solid var(--line);
  border-radius: 16px; padding: 32px; display: flex; flex-direction: column; gap: 24px;
}
.card .ends { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px 16px; font-size: 14px; font-weight: 600; color: var(--ink-2); }
html[lang="ar"] .card .ends { font-size: 15px; }
.card svg.route { width: 100%; height: auto; display: block; }
html[dir="rtl"] .card svg.route { transform: scaleX(-1); }
.ticks { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 16px; font-size: 16px; line-height: 1.5; }
html[lang="ar"] .ticks { font-size: 17px; }
.ticks li { display: flex; gap: 12px; align-items: flex-start; }
.ticks svg { flex: none; margin-top: 2px; }

/* Sections */
.band { background: var(--surface); border-block: 1px solid var(--line); }
.section { padding-block: 80px; display: flex; flex-direction: column; gap: 40px; }
.section h2, .faq h2 { font-size: clamp(28px, 3.5vw, 40px); letter-spacing: -0.01em; }
html[lang="ar"] .section h2, html[lang="ar"] .faq h2 { letter-spacing: 0; }
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 24px; }
.steps li { display: flex; flex-direction: column; gap: 12px; padding: 28px; border: 1px solid var(--line); border-radius: 12px; background: var(--ground); }
.steps .num { font-size: 14px; font-weight: 700; color: var(--accent); letter-spacing: 0.08em; }
.steps h3 { font-size: 20px; line-height: 1.3; }
.steps p { font-size: 16px; color: var(--ink-2); }
html[lang="ar"] .steps p { font-size: 17px; }

.status-band { background: var(--dark); color: var(--dark-ink); }
.status-band .wrap { padding-block: 72px; display: flex; flex-wrap: wrap; gap: 24px 64px; }
.status-band h2 { flex: 1 1 280px; font-size: clamp(26px, 3vw, 34px); line-height: 1.2; color: #fff; }
.status-band .body { flex: 2 1 480px; min-width: 0; display: flex; flex-direction: column; gap: 16px; font-size: 17px; line-height: 1.7; }
html[lang="ar"] .status-band .body { font-size: 18px; line-height: 1.9; }
.status-band a { color: var(--dark-link); }
.status-band a:hover { color: #fff; }

.faq { padding-block: 80px; display: flex; flex-direction: column; gap: 24px; }
.faq .list { border-top: 1px solid var(--line-2); }
.faq details { border-bottom: 1px solid var(--line-2); }
.faq summary { cursor: pointer; font-size: 18px; font-weight: 600; padding-block: 18px; }
html[lang="ar"] .faq summary { font-size: 19px; }
.faq details p { margin: 0 0 20px; font-size: 16px; line-height: 1.7; color: var(--ink-2); }
html[lang="ar"] .faq details p { font-size: 17px; line-height: 1.8; }

/* Footer */
.site-footer { border-top: 1px solid var(--line); background: var(--surface); }
.site-footer .wrap { padding-block: 40px 48px; display: flex; flex-direction: column; gap: 16px; font-size: 14px; line-height: 1.7; color: var(--ink-3); }
html[lang="ar"] .site-footer .wrap { font-size: 15px; line-height: 1.8; }
.site-footer .top { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 24px; align-items: center; }
.site-footer .brand { font-size: 18px; }
.site-footer nav { display: flex; flex-wrap: wrap; gap: 4px 24px; }
.site-footer nav a { padding-block: 12px; }

/* Legal / simple pages */
.doc { padding-block: 64px 88px; }
.doc h1 { font-size: clamp(32px, 4vw, 44px); margin-bottom: 8px; }
.doc .updated { color: var(--ink-3); font-size: 15px; margin-bottom: 40px; }
.doc h2 { font-size: 22px; margin: 40px 0 12px; line-height: 1.3; }
.doc p, .doc li { color: var(--ink-2); }
.doc p + p { margin-top: 12px; }
.doc ul { margin: 12px 0 0; padding-inline-start: 22px; display: flex; flex-direction: column; gap: 6px; }
.doc table { width: 100%; border-collapse: collapse; margin-top: 12px; font-size: 15px; }
.doc th, .doc td { text-align: start; vertical-align: top; padding: 12px; border: 1px solid var(--line); }
.doc th { background: var(--surface); font-weight: 600; color: var(--ink); }
.table-scroll { overflow-x: auto; }
.doc .table-scroll + p, .doc ul + p { margin-top: 16px; }

.centre { min-height: 70vh; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; gap: 20px; padding-block: 64px; }
.centre h1 { font-size: clamp(30px, 4vw, 44px); }
.centre p { color: var(--ink-2); max-width: 560px; }
.centre .pair { display: flex; flex-direction: column; gap: 8px; }
.centre .divider { width: 48px; height: 2px; background: var(--line-2); margin: 8px auto; }
.centre .actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }
