/* inter-latin-ext-wght-normal */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-display: swap;
  font-weight: 100 900;
  src: url(/fonts/inter-latin-ext-wght-normal.34b9c504ca.woff2) format('woff2');
  unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF;
}

/* inter-latin-wght-normal */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-display: swap;
  font-weight: 100 900;
  src: url(/fonts/inter-latin-wght-normal.3100e775e8.woff2) format('woff2');
  unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;
}/* source-serif-4-latin-ext-opsz-normal */
@font-face {
  font-family: 'Source Serif 4';
  font-style: normal;
  font-display: swap;
  font-weight: 200 900;
  src: url(/fonts/source-serif-4-latin-ext-opsz-normal.155f6e7010.woff2) format('woff2');
  unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C4,U+2113,U+2C60-2C7F,U+A720-A7FF;
}

/* source-serif-4-latin-opsz-normal */
@font-face {
  font-family: 'Source Serif 4';
  font-style: normal;
  font-display: swap;
  font-weight: 200 900;
  src: url(/fonts/source-serif-4-latin-opsz-normal.f2ea9c12d2.woff2) format('woff2');
  unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;
}/* source-serif-4-latin-ext-opsz-italic */
@font-face {
  font-family: 'Source Serif 4';
  font-style: italic;
  font-display: swap;
  font-weight: 200 900;
  src: url(/fonts/source-serif-4-latin-ext-opsz-italic.2078240cee.woff2) format('woff2');
  unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C4,U+2113,U+2C60-2C7F,U+A720-A7FF;
}

/* source-serif-4-latin-opsz-italic */
@font-face {
  font-family: 'Source Serif 4';
  font-style: italic;
  font-display: swap;
  font-weight: 200 900;
  src: url(/fonts/source-serif-4-latin-opsz-italic.96e6393209.woff2) format('woff2');
  unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;
}/* newsreader-latin-ext-500-normal */
@font-face {
  font-family: 'Newsreader';
  font-style: normal;
  font-display: swap;
  font-weight: 500;
  src: url(/fonts/newsreader-latin-ext-500-normal.9b553af5de.woff2) format('woff2');
  unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF;
}

/* newsreader-latin-500-normal */
@font-face {
  font-family: 'Newsreader';
  font-style: normal;
  font-display: swap;
  font-weight: 500;
  src: url(/fonts/newsreader-latin-500-normal.5613e2fc83.woff2) format('woff2');
  unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;
}/* ibm-plex-sans-arabic-arabic-400-normal */
@font-face {
  font-family: 'IBM Plex Sans Arabic';
  font-style: normal;
  font-display: swap;
  font-weight: 400;
  src: url(/fonts/ibm-plex-sans-arabic-arabic-400-normal.6010e7fd0d.woff2) format('woff2');
  unicode-range: U+0600-06FF,U+0750-077F,U+0870-088E,U+0890-0891,U+0897-08E1,U+08E3-08FF,U+200C-200E,U+2010-2011,U+204F,U+2E41,U+FB50-FDFF,U+FE70-FE74,U+FE76-FEFC,U+102E0-102FB,U+10E60-10E7E,U+10EC2-10EC4,U+10EFC-10EFF,U+1EE00-1EE03,U+1EE05-1EE1F,U+1EE21-1EE22,U+1EE24,U+1EE27,U+1EE29-1EE32,U+1EE34-1EE37,U+1EE39,U+1EE3B,U+1EE42,U+1EE47,U+1EE49,U+1EE4B,U+1EE4D-1EE4F,U+1EE51-1EE52,U+1EE54,U+1EE57,U+1EE59,U+1EE5B,U+1EE5D,U+1EE5F,U+1EE61-1EE62,U+1EE64,U+1EE67-1EE6A,U+1EE6C-1EE72,U+1EE74-1EE77,U+1EE79-1EE7C,U+1EE7E,U+1EE80-1EE89,U+1EE8B-1EE9B,U+1EEA1-1EEA3,U+1EEA5-1EEA9,U+1EEAB-1EEBB,U+1EEF0-1EEF1;
}

/* ibm-plex-sans-arabic-arabic-500-normal */
@font-face {
  font-family: 'IBM Plex Sans Arabic';
  font-style: normal;
  font-display: swap;
  font-weight: 500;
  src: url(/fonts/ibm-plex-sans-arabic-arabic-500-normal.90aef64fea.woff2) format('woff2');
  unicode-range: U+0600-06FF,U+0750-077F,U+0870-088E,U+0890-0891,U+0897-08E1,U+08E3-08FF,U+200C-200E,U+2010-2011,U+204F,U+2E41,U+FB50-FDFF,U+FE70-FE74,U+FE76-FEFC,U+102E0-102FB,U+10E60-10E7E,U+10EC2-10EC4,U+10EFC-10EFF,U+1EE00-1EE03,U+1EE05-1EE1F,U+1EE21-1EE22,U+1EE24,U+1EE27,U+1EE29-1EE32,U+1EE34-1EE37,U+1EE39,U+1EE3B,U+1EE42,U+1EE47,U+1EE49,U+1EE4B,U+1EE4D-1EE4F,U+1EE51-1EE52,U+1EE54,U+1EE57,U+1EE59,U+1EE5B,U+1EE5D,U+1EE5F,U+1EE61-1EE62,U+1EE64,U+1EE67-1EE6A,U+1EE6C-1EE72,U+1EE74-1EE77,U+1EE79-1EE7C,U+1EE7E,U+1EE80-1EE89,U+1EE8B-1EE9B,U+1EEA1-1EEA3,U+1EEA5-1EEA9,U+1EEAB-1EEBB,U+1EEF0-1EEF1;
}

/* ibm-plex-sans-arabic-arabic-600-normal */
@font-face {
  font-family: 'IBM Plex Sans Arabic';
  font-style: normal;
  font-display: swap;
  font-weight: 600;
  src: url(/fonts/ibm-plex-sans-arabic-arabic-600-normal.16734a5adb.woff2) format('woff2');
  unicode-range: U+0600-06FF,U+0750-077F,U+0870-088E,U+0890-0891,U+0897-08E1,U+08E3-08FF,U+200C-200E,U+2010-2011,U+204F,U+2E41,U+FB50-FDFF,U+FE70-FE74,U+FE76-FEFC,U+102E0-102FB,U+10E60-10E7E,U+10EC2-10EC4,U+10EFC-10EFF,U+1EE00-1EE03,U+1EE05-1EE1F,U+1EE21-1EE22,U+1EE24,U+1EE27,U+1EE29-1EE32,U+1EE34-1EE37,U+1EE39,U+1EE3B,U+1EE42,U+1EE47,U+1EE49,U+1EE4B,U+1EE4D-1EE4F,U+1EE51-1EE52,U+1EE54,U+1EE57,U+1EE59,U+1EE5B,U+1EE5D,U+1EE5F,U+1EE61-1EE62,U+1EE64,U+1EE67-1EE6A,U+1EE6C-1EE72,U+1EE74-1EE77,U+1EE79-1EE7C,U+1EE7E,U+1EE80-1EE89,U+1EE8B-1EE9B,U+1EEA1-1EEA3,U+1EEA5-1EEA9,U+1EEAB-1EEBB,U+1EEF0-1EEF1;
}

/* ibm-plex-sans-arabic-arabic-700-normal */
@font-face {
  font-family: 'IBM Plex Sans Arabic';
  font-style: normal;
  font-display: swap;
  font-weight: 700;
  src: url(/fonts/ibm-plex-sans-arabic-arabic-700-normal.04c730b429.woff2) format('woff2');
  unicode-range: U+0600-06FF,U+0750-077F,U+0870-088E,U+0890-0891,U+0897-08E1,U+08E3-08FF,U+200C-200E,U+2010-2011,U+204F,U+2E41,U+FB50-FDFF,U+FE70-FE74,U+FE76-FEFC,U+102E0-102FB,U+10E60-10E7E,U+10EC2-10EC4,U+10EFC-10EFF,U+1EE00-1EE03,U+1EE05-1EE1F,U+1EE21-1EE22,U+1EE24,U+1EE27,U+1EE29-1EE32,U+1EE34-1EE37,U+1EE39,U+1EE3B,U+1EE42,U+1EE47,U+1EE49,U+1EE4B,U+1EE4D-1EE4F,U+1EE51-1EE52,U+1EE54,U+1EE57,U+1EE59,U+1EE5B,U+1EE5D,U+1EE5F,U+1EE61-1EE62,U+1EE64,U+1EE67-1EE6A,U+1EE6C-1EE72,U+1EE74-1EE77,U+1EE79-1EE7C,U+1EE7E,U+1EE80-1EE89,U+1EE8B-1EE9B,U+1EEA1-1EEA3,U+1EEA5-1EEA9,U+1EEAB-1EEBB,U+1EEF0-1EEF1;
}

/* noto-naskh-arabic-arabic-400-normal */
@font-face {
  font-family: 'Noto Naskh Arabic';
  font-style: normal;
  font-display: swap;
  font-weight: 400;
  src: url(/fonts/noto-naskh-arabic-arabic-400-normal.9cc2d2e90f.woff2) format('woff2');
  unicode-range: U+0600-06FF,U+0750-077F,U+0870-088E,U+0890-0891,U+0897-08E1,U+08E3-08FF,U+200C-200E,U+2010-2011,U+204F,U+2E41,U+FB50-FDFF,U+FE70-FE74,U+FE76-FEFC,U+102E0-102FB,U+10E60-10E7E,U+10EC2-10EC4,U+10EFC-10EFF,U+1EE00-1EE03,U+1EE05-1EE1F,U+1EE21-1EE22,U+1EE24,U+1EE27,U+1EE29-1EE32,U+1EE34-1EE37,U+1EE39,U+1EE3B,U+1EE42,U+1EE47,U+1EE49,U+1EE4B,U+1EE4D-1EE4F,U+1EE51-1EE52,U+1EE54,U+1EE57,U+1EE59,U+1EE5B,U+1EE5D,U+1EE5F,U+1EE61-1EE62,U+1EE64,U+1EE67-1EE6A,U+1EE6C-1EE72,U+1EE74-1EE77,U+1EE79-1EE7C,U+1EE7E,U+1EE80-1EE89,U+1EE8B-1EE9B,U+1EEA1-1EEA3,U+1EEA5-1EEA9,U+1EEAB-1EEBB,U+1EEF0-1EEF1;
}

/* noto-naskh-arabic-arabic-600-normal */
@font-face {
  font-family: 'Noto Naskh Arabic';
  font-style: normal;
  font-display: swap;
  font-weight: 600;
  src: url(/fonts/noto-naskh-arabic-arabic-600-normal.0cefc9b889.woff2) format('woff2');
  unicode-range: U+0600-06FF,U+0750-077F,U+0870-088E,U+0890-0891,U+0897-08E1,U+08E3-08FF,U+200C-200E,U+2010-2011,U+204F,U+2E41,U+FB50-FDFF,U+FE70-FE74,U+FE76-FEFC,U+102E0-102FB,U+10E60-10E7E,U+10EC2-10EC4,U+10EFC-10EFF,U+1EE00-1EE03,U+1EE05-1EE1F,U+1EE21-1EE22,U+1EE24,U+1EE27,U+1EE29-1EE32,U+1EE34-1EE37,U+1EE39,U+1EE3B,U+1EE42,U+1EE47,U+1EE49,U+1EE4B,U+1EE4D-1EE4F,U+1EE51-1EE52,U+1EE54,U+1EE57,U+1EE59,U+1EE5B,U+1EE5D,U+1EE5F,U+1EE61-1EE62,U+1EE64,U+1EE67-1EE6A,U+1EE6C-1EE72,U+1EE74-1EE77,U+1EE79-1EE7C,U+1EE7E,U+1EE80-1EE89,U+1EE8B-1EE9B,U+1EEA1-1EEA3,U+1EEA5-1EEA9,U+1EEAB-1EEBB,U+1EEF0-1EEF1;
}

/* Scifile landing page: the design board "Landing page — Desktop / Phone" (2026-12-06), as CSS. */

:root {
  --ink: #032126;
  --paper: #f2f0eb;
  --card: #fbfaf7;
  --line: #e2ddd2;
  --sea: #5bbac8;
  --teal: #0b6b74;
  --mist: #d6e4e3;
  --text: #343434;
  --sans: Inter, system-ui, sans-serif;
  --serif: 'Source Serif 4', Georgia, serif;
  --logo: Newsreader, 'Source Serif 4', Georgia, serif;
}

:lang(ar) {
  --sans: 'IBM Plex Sans Arabic', Inter, system-ui, sans-serif;
  --serif: 'Noto Naskh Arabic', 'Source Serif 4', Georgia, serif;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--ink);
}

a {
  color: var(--teal);
}

a:hover {
  color: var(--ink);
}

.dark a {
  color: #9fdbe4;
}

.dark a:hover {
  color: #fff;
}

button:focus-visible,
a:focus-visible,
input:focus-visible,
summary:focus-visible {
  outline: 3px solid var(--sea);
  outline-offset: 3px;
}

img {
  max-width: 100%;
}

.root {
  font-family: var(--sans);
  color: var(--text);
  background: var(--paper);
  min-width: 0;
  overflow-x: hidden;
}

:lang(ar) .root {
  line-height: 1.7;
}

:lang(ar) h1,
:lang(ar) h2,
:lang(ar) h3,
:lang(ar) .logo {
  letter-spacing: 0 !important;
}

.it {
  font-style: italic;
  font-weight: 400;
}

:lang(ar) .it {
  font-style: normal;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

/* ============ HERO ============ */
.hero {
  position: relative;
  background: var(--ink);
  color: var(--paper);
  overflow: hidden;
  padding: 0 0 72px;
}

.hero-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
}

.hero-glow {
  position: absolute;
  inset: 0;
  background: radial-gradient(
    ellipse 46% 34% at 50% 40%,
    rgb(3 33 38 / 92%) 0%,
    rgb(3 33 38 / 55%) 55%,
    rgb(3 33 38 / 0%) 100%
  );
  pointer-events: none;
}

.head {
  position: relative;
  z-index: 3;
  max-width: 1240px;
  margin: 0 auto;
  padding: 22px 24px;
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--paper) !important;
  font-family: var(--logo);
  font-size: 32px;
  font-weight: 500;
  letter-spacing: -1px;
  line-height: 1;
}

/* The logo is a mark, not text: it reads the same in Arabic. */
.logo,
.foot-logo {
  direction: ltr;
}

.logo svg {
  height: 40px;
  width: auto;
  flex: none;
}

.navlinks {
  display: flex;
  gap: 28px;
  flex: 1 1 auto;
  justify-content: center;
  font-size: 15px;
}

.navlinks a,
.mnav a {
  text-decoration: none;
}

.head-end {
  margin-inline-start: auto;
  display: flex;
  align-items: center;
  gap: 12px;
}

.headcta {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 20px;
  border-radius: 999px;
  background: var(--paper);
  color: var(--ink) !important;
  font-weight: 600;
  font-size: 15px;
  text-decoration: none;
  white-space: nowrap;
}

/* Language: one dropdown, each language in its own language. */
.lang {
  position: relative;
}

.lang summary {
  list-style: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 44px;
  padding: 0 14px;
  border-radius: 999px;
  border: 1px solid rgb(242 240 235 / 30%);
  color: var(--paper);
  font-size: 15px;
  cursor: pointer;
  white-space: nowrap;
}

.lang summary::-webkit-details-marker {
  display: none;
}

.lang ul {
  position: absolute;
  inset-inline-end: 0;
  top: calc(100% + 8px);
  z-index: 6;
  min-width: 170px;
  margin: 0;
  padding: 6px;
  list-style: none;
  border-radius: 16px;
  background: #0a3036;
  border: 1px solid rgb(91 186 200 / 30%);
  box-shadow: 0 30px 60px rgb(0 0 0 / 40%);
}

.lang li a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 44px;
  padding: 0 14px;
  border-radius: 10px;
  color: var(--paper) !important;
  text-decoration: none;
  font-size: 15px;
}

.lang li a:hover,
.lang li a[aria-current='true'] {
  background: rgb(91 186 200 / 14%);
}

.menubtn {
  display: none;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid rgb(242 240 235 / 30%);
  background: transparent;
  color: var(--paper);
  cursor: pointer;
}

.menubtn .x,
.menubtn[aria-expanded='true'] .bars {
  display: none;
}

.menubtn[aria-expanded='true'] .x {
  display: block;
}

.mnav {
  position: absolute;
  top: 76px;
  left: 16px;
  right: 16px;
  z-index: 5;
  display: flex;
  flex-direction: column;
  padding: 8px;
  border-radius: 20px;
  background: #0a3036;
  border: 1px solid rgb(91 186 200 / 30%);
  box-shadow: 0 30px 60px rgb(0 0 0 / 40%);
}

.mnav[hidden] {
  display: none;
}

.mnav > a {
  display: flex;
  align-items: center;
  min-height: 52px;
  padding: 0 16px;
  border-radius: 12px;
  font-size: 17px;
}

.mnav > a.mcta {
  justify-content: center;
  margin-top: 6px;
  border-radius: 14px;
  background: var(--sea);
  color: var(--ink) !important;
  font-weight: 600;
  font-size: 16px;
}

.mlangs {
  display: flex;
  gap: 6px;
  margin-top: 6px;
  padding: 6px 8px 2px;
  border-top: 1px solid rgb(91 186 200 / 20%);
}

.mlangs a {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  border-radius: 10px;
  font-size: 15px;
  text-decoration: none;
}

.mlangs a[aria-current='true'] {
  background: rgb(91 186 200 / 14%);
  color: var(--paper) !important;
}

.herotop {
  position: relative;
  z-index: 2;
  max-width: 980px;
  margin: 0 auto;
  padding: 100px 24px 0;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 28px;
}

.badge {
  margin: 0;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 16px;
  border-radius: 999px;
  border: 1px solid rgb(91 186 200 / 40%);
  background: rgb(91 186 200 / 8%);
  font-size: 14px;
  color: #cfeef3;
}

.badge-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--sea);
  box-shadow: 0 0 12px var(--sea);
}

.hero h1 {
  margin: 0;
  font-family: var(--serif);
  font-weight: 600;
  font-size: clamp(52px, 9vw, 112px);
  line-height: 0.98;
  letter-spacing: -2px;
  text-shadow: 0 2px 40px rgb(3 33 38 / 90%);
}

:lang(ar) .hero h1 {
  line-height: 1.25;
}

.hero h1 .it {
  color: var(--sea);
}

.lead {
  margin: 0;
  max-width: 640px;
  font-size: clamp(17px, 2vw, 20px);
  line-height: 1.55;
  color: var(--mist);
}

.ctas {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  justify-content: center;
}

.btn-sea {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 52px;
  padding: 0 28px;
  border-radius: 999px;
  background: var(--sea);
  color: var(--ink) !important;
  font-weight: 600;
  font-size: 16px;
  text-decoration: none;
  box-shadow: 0 0 40px rgb(91 186 200 / 35%);
}

[dir='rtl'] .btn-sea svg {
  transform: scaleX(-1);
}

.btn-ghost {
  display: inline-flex;
  align-items: center;
  min-height: 52px;
  padding: 0 28px;
  border-radius: 999px;
  border: 1px solid rgb(242 240 235 / 35%);
  color: var(--paper) !important;
  font-weight: 500;
  font-size: 16px;
  text-decoration: none;
  background: rgb(3 33 38 / 50%);
}

.cards {
  position: relative;
  z-index: 2;
  max-width: 1240px;
  margin: 88px auto 0;
  padding: 0 24px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 14px;
}

.cards > a {
  text-decoration: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 22px;
  border-radius: 18px;
  background: rgb(9 52 58 / 72%);
  border: 1px solid rgb(91 186 200 / 22%);
  backdrop-filter: blur(8px);
}

.card-t {
  color: var(--paper);
  font-weight: 600;
  font-size: 17px;
}

.card-d {
  color: #b7cccb;
  font-size: 14px;
  line-height: 1.5;
}

/* ============ SHOWCASE ============ */
.showcase {
  position: relative;
  background: linear-gradient(var(--ink) 0, var(--ink) 38%, var(--paper) 38%);
  padding: 40px 24px 110px;
}

.stage {
  position: relative;
  max-width: 1180px;
  margin: 0 auto;
}

.mob {
  display: none;
  justify-content: center;
}

.mob-frame {
  position: relative;
  width: 270px;
}

.mob-phone {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 36px;
  border: 7px solid #0d3a40;
  box-shadow:
    0 30px 80px rgb(3 33 38 / 50%),
    0 0 0 1px rgb(91 186 200 / 35%);
}

.mob-card {
  position: absolute;
  left: -22px;
  right: -22px;
  bottom: 36px;
  width: calc(100% + 44px);
  max-width: none;
  height: auto;
  border-radius: 14px;
  border: 1px solid #ddd8cc;
  box-shadow: 0 24px 50px rgb(3 33 38 / 30%);
}

.window {
  border-radius: 18px;
  overflow: hidden;
  background: #0d3a40;
  border: 1px solid rgb(91 186 200 / 30%);
  box-shadow:
    0 40px 120px rgb(3 33 38 / 45%),
    0 0 0 8px rgb(91 186 200 / 6%);
}

.window-bar {
  height: 38px;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0 16px;
  background: #0a3036;
}

.window-dot {
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: #2f5a5f;
}

.window-title {
  margin: 0 auto;
  font-size: 12px;
  color: #8fb0b0;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.window img {
  display: block;
  width: 100%;
  height: auto;
}

.float {
  position: absolute;
  z-index: 2;
  margin: 0;
  border-radius: 16px;
  overflow: hidden;
  background: #fff;
  border: 1px solid #ddd8cc;
  box-shadow: 0 30px 70px rgb(3 33 38 / 28%);
}

.float img {
  display: block;
  width: 100%;
  height: auto;
}

.float-start {
  inset-inline-start: -64px;
  top: 46%;
  width: 300px;
  transform: rotate(-2deg);
}

.float-end {
  inset-inline-end: -56px;
  top: 30%;
  width: 290px;
  transform: rotate(1.6deg);
}

.steps {
  max-width: 1180px;
  margin: 56px auto 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 32px;
}

.step {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.step-n {
  font-family: 'Source Serif 4', Georgia, serif;
  font-size: 40px;
  color: var(--ink);
}

.step strong {
  font-size: 17px;
  color: var(--ink);
}

.step span:last-child {
  font-size: 15px;
  line-height: 1.55;
}

/* ============ FEATURES ============ */
.features {
  background: var(--paper);
  padding: 40px 24px 96px;
}

.wrap {
  max-width: 1180px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
}

.features .wrap {
  gap: 48px;
}

.intro {
  display: flex;
  flex-direction: column;
  gap: 14px;
  max-width: 760px;
}

.eyebrow {
  margin: 0;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  color: var(--teal);
}

:lang(ar) .eyebrow {
  letter-spacing: 0;
}

.h2 {
  margin: 0;
  font-family: var(--serif);
  font-weight: 600;
  line-height: 1.05;
  letter-spacing: -1px;
  color: var(--ink);
}

:lang(ar) .h2 {
  line-height: 1.35;
}

.features .h2 {
  font-size: clamp(36px, 5vw, 56px);
}

.intro p:last-child {
  margin: 0;
  font-size: 18px;
  line-height: 1.6;
}

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 18px;
}

.feat {
  display: flex;
  flex-direction: column;
  gap: 18px;
  padding: 28px;
  border-radius: 22px;
  background: var(--card);
  border: 1px solid var(--line);
  min-width: 0;
}

.feat.wide {
  grid-column: span 2;
}

.feat-text {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.feat h3 {
  margin: 0;
  font-size: 22px;
  color: var(--ink);
}

.feat p {
  margin: 0;
  font-size: 15px;
  line-height: 1.55;
}

.feat.inverse {
  background: var(--ink);
  border-color: var(--ink);
  color: var(--mist);
}

.feat.inverse h3 {
  color: var(--paper);
}

.shot {
  height: 250px;
  border-radius: 14px;
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--line);
}

.shot img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
}

.shot-journal {
  flex: 1;
  min-height: 220px;
  background: #e9e5dc;
}

.shot-journal img {
  object-position: 0% 30%;
}

.inverse .shot {
  border: 0;
}

.shot-cork {
  background: #f4f2ed;
}

.shot-cork img {
  object-position: top left;
}

/* ============ ANYWHERE ============ */
.anywhere {
  background: #e8e4da;
  padding: 88px 24px;
}

.anywhere .wrap {
  gap: 48px;
}

.any-head {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  align-items: end;
  justify-content: space-between;
}

.anywhere .h2,
.principles .h2 {
  font-size: clamp(34px, 4.6vw, 52px);
}

.anywhere .h2 {
  max-width: 620px;
}

.any-head p {
  margin: 0;
  max-width: 400px;
  font-size: 17px;
  line-height: 1.6;
}

.pair {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 18px;
}

.pair figure {
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.pair .frame {
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid #d6d0c3;
  box-shadow: 0 20px 50px rgb(3 33 38 / 12%);
}

.pair img {
  display: block;
  width: 100%;
  height: auto;
}

.pair figcaption {
  font-size: 14px;
  color: #555;
}

.phones {
  display: flex;
  gap: 22px;
  justify-content: center;
  flex-wrap: wrap;
}

.phones img {
  width: 210px;
  max-width: 70vw;
  height: auto;
  border-radius: 30px;
  border: 6px solid var(--ink);
  box-shadow: 0 24px 60px rgb(3 33 38 / 25%);
}

.phones img:nth-child(2) {
  margin-top: 24px;
}

/* ============ PRINCIPLES ============ */
.principles {
  background: var(--ink);
  color: var(--mist);
  padding: 96px 24px;
}

.principles .wrap {
  gap: 56px;
}

.principles .h2 {
  max-width: 760px;
  line-height: 1.08;
  color: var(--paper);
}

.principles .h2 .it {
  color: var(--sea);
}

.rules {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1px;
  background: rgb(91 186 200 / 20%);
  border: 1px solid rgb(91 186 200 / 20%);
  border-radius: 20px;
  overflow: hidden;
}

.rule {
  background: var(--ink);
  padding: 32px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.rule-n {
  font-family: 'Source Serif 4', Georgia, serif;
  font-size: 15px;
  color: var(--sea);
}

.rule h3 {
  margin: 0;
  font-size: 20px;
  color: var(--paper);
}

.rule p {
  margin: 0;
  font-size: 15px;
  line-height: 1.6;
}

/* ============ SOCIETY ============ */
.society {
  background: var(--paper);
  padding: 110px 24px 40px;
}

.soc-box {
  max-width: 1180px;
  margin: 0 auto;
  border-radius: 28px;
  background: var(--card);
  border: 1px solid var(--line);
  padding: clamp(28px, 5vw, 56px);
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  align-items: center;
}

.soc-text {
  flex: 1 1 420px;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.society .h2 {
  font-size: clamp(30px, 4vw, 44px);
  line-height: 1.1;
  letter-spacing: 0;
}

.soc-text > p:last-child {
  margin: 0;
  font-size: 17px;
  line-height: 1.6;
}

.posts {
  flex: 1 1 320px;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.post {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 18px;
  border-radius: 14px;
  background: var(--paper);
}

.avatar {
  width: 40px;
  height: 40px;
  flex: none;
  border-radius: 50%;
  background: var(--ink);
  color: var(--paper);
  display: grid;
  place-items: center;
  font-size: 14px;
  font-weight: 600;
  font-family: Inter, system-ui, sans-serif;
}

.avatar.sea {
  background: var(--sea);
  color: var(--ink);
}

.post span:last-child {
  font-size: 15px;
  line-height: 1.45;
}

.post strong {
  color: var(--ink);
}

.posts-note {
  margin: 4px 0 0;
  font-size: 13px;
  color: #666;
}

/* ============ WAITLIST ============ */
.waitlist {
  background: var(--paper);
  padding: 56px 24px 96px;
}

.wait-box {
  position: relative;
  overflow: hidden;
  max-width: 1180px;
  margin: 0 auto;
  border-radius: 28px;
  background: var(--ink);
  color: var(--mist);
  padding: clamp(28px, 5vw, 64px);
  display: flex;
  flex-wrap: wrap;
  gap: 48px;
}

.wait-mark {
  height: 560px;
  width: auto;
  flex: none;
  position: absolute;
  inset-inline-start: -90px;
  bottom: -120px;
  opacity: 0.07;
  pointer-events: none;
}

.wait-text {
  position: relative;
  flex: 1 1 360px;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.waitlist .h2 {
  font-size: clamp(36px, 5vw, 60px);
  line-height: 1.02;
  color: var(--paper);
}

.wait-text > p {
  margin: 0;
  font-size: 17px;
  line-height: 1.6;
}

.perks {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 14px;
  font-size: 16px;
}

.perks li {
  display: flex;
  gap: 12px;
  align-items: start;
}

.perks svg {
  flex: none;
}

.wait-form-col {
  position: relative;
  flex: 1.3 1 420px;
  min-width: 0;
}

.wait-form {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.wait-form fieldset {
  margin: 0;
  padding: 0;
  border: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.wait-form legend,
.wait-form label {
  padding: 0;
  font-size: 18px;
  font-weight: 600;
  color: var(--paper);
}

.wait-form legend {
  margin-bottom: 12px;
}

.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.chip {
  min-height: 44px;
  padding: 0 18px;
  border-radius: 999px;
  border: 1px solid rgb(242 240 235 / 30%);
  background: transparent;
  color: var(--paper);
  font: 500 15px var(--sans);
  cursor: pointer;
}

.chip[aria-pressed='true'] {
  border-color: var(--sea);
  background: var(--sea);
  color: var(--ink);
  font-weight: 600;
}

.email-col {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.email-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.email-row input {
  flex: 1 1 240px;
  min-width: 0;
  min-height: 52px;
  padding: 0 18px;
  border-radius: 14px;
  border: 1px solid rgb(242 240 235 / 30%);
  background: rgb(242 240 235 / 6%);
  color: var(--paper);
  font: 400 16px var(--sans);
}

.email-row input::placeholder {
  color: rgb(242 240 235 / 55%);
}

.email-row button {
  min-height: 52px;
  padding: 0 28px;
  border-radius: 14px;
  border: 0;
  background: var(--paper);
  color: var(--ink);
  font: 600 16px var(--sans);
  cursor: pointer;
}

.email-row button:disabled {
  opacity: 0.6;
  cursor: progress;
}

.form-err {
  margin: 0;
  font-size: 14px;
  color: #ffb4a2;
}

.form-note {
  margin: 0;
  font-size: 13px;
  line-height: 1.5;
  color: #9db8b7;
}

.done {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 32px;
  border-radius: 20px;
  background: rgb(91 186 200 / 10%);
  border: 1px solid rgb(91 186 200 / 35%);
}

.done[hidden],
.wait-form[hidden],
.form-err[hidden] {
  display: none;
}

.done svg {
  height: 56px;
  width: auto;
  align-self: flex-start;
}

.done h3 {
  margin: 0;
  font-family: var(--serif);
  font-size: 30px;
  color: var(--paper);
}

.done p {
  margin: 0;
  font-size: 16px;
  line-height: 1.6;
}

.done strong {
  color: var(--paper);
}

/* ============ FOOTER ============ */
.foot {
  background: #021a1e;
  color: #9db8b7;
  padding: 56px 24px 40px;
}

.foot-row {
  max-width: 1180px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  align-items: start;
  justify-content: space-between;
}

.foot-brand {
  display: flex;
  flex-direction: column;
  gap: 10px;
  max-width: 320px;
}

.foot-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--logo);
  font-size: 36px;
  font-weight: 500;
  letter-spacing: -1px;
  line-height: 1;
  color: var(--paper);
}

.foot-logo svg {
  height: 48px;
  width: auto;
  flex: none;
}

.foot-brand > span:last-child {
  font-size: 14px;
  line-height: 1.55;
}

.foot-links {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.foot-links nav {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  font-size: 15px;
}

.copy {
  max-width: 1180px;
  margin: 40px auto 0;
  font-size: 13px;
  color: #7f9c9b;
}

/* ============ 404 ============ */
.lost {
  min-height: 100vh;
  display: grid;
  place-items: center;
  align-content: center;
  gap: 24px;
  padding: 24px;
  text-align: center;
  background: var(--ink);
  color: var(--paper);
}

.lost h1 {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(36px, 6vw, 60px);
}

/* ============ Narrower screens ============ */
@media (max-width: 960px) {
  .float {
    display: none;
  }

  .feat.wide {
    grid-column: auto;
  }

  .navlinks {
    display: none;
  }

  .menubtn {
    display: flex;
  }
}

/* The phone board (390 wide). */
@media (max-width: 599px) {
  .lang,
  .desk {
    display: none !important;
  }

  .mob {
    display: flex;
  }

  .head-end {
    gap: 8px;
  }

  .herotop {
    padding-top: 48px;
    gap: 22px;
  }

  .hero h1 {
    font-size: 50px;
    letter-spacing: -1px;
  }

  .cards {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    margin-top: 56px;
    padding-bottom: 10px;
  }

  .cards > a {
    flex: 0 0 78%;
    scroll-snap-align: start;
  }

  .sec {
    padding-top: 72px;
    padding-bottom: 72px;
  }

  .shot {
    height: 220px;
  }

  .phones {
    flex-wrap: nowrap;
    overflow-x: auto;
    justify-content: flex-start;
    scroll-snap-type: x mandatory;
    padding-bottom: 10px;
  }

  .phones img {
    flex: 0 0 220px;
    scroll-snap-align: center;
  }

  .phones img:nth-child(2) {
    margin-top: 0;
  }

  .headcta {
    padding: 0 16px;
    font-size: 14px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}
