/* The landing page (SPEC D101). Fonts are served from this folder (the CSP allows fonts from 'self' only): the
   Latin subsets of IBM Plex Sans / Serif and the Arabic subsets of IBM Plex Sans Arabic / Noto Naskh Arabic, copied
   from the @fontsource packages the web app uses (SIL Open Font License 1.1). */

@font-face {
  font-family: 'IBM Plex Sans';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(/fonts/ibm-plex-sans-latin-400-normal.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;
}
@font-face {
  font-family: 'IBM Plex Sans';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(/fonts/ibm-plex-sans-latin-500-normal.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;
}
@font-face {
  font-family: 'IBM Plex Sans';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(/fonts/ibm-plex-sans-latin-600-normal.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;
}
@font-face {
  font-family: 'IBM Plex Serif';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(/fonts/ibm-plex-serif-latin-400-normal.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;
}
@font-face {
  font-family: 'IBM Plex Serif';
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url(/fonts/ibm-plex-serif-latin-400-italic.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;
}
@font-face {
  font-family: 'IBM Plex Serif';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(/fonts/ibm-plex-serif-latin-500-normal.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;
}
@font-face {
  font-family: 'IBM Plex Serif';
  font-style: italic;
  font-weight: 500;
  font-display: swap;
  src: url(/fonts/ibm-plex-serif-latin-500-italic.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;
}
@font-face {
  font-family: 'IBM Plex Serif';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(/fonts/ibm-plex-serif-latin-600-normal.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;
}
@font-face {
  font-family: 'IBM Plex Sans Arabic';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(/fonts/ibm-plex-sans-arabic-arabic-400-normal.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;
}
@font-face {
  font-family: 'IBM Plex Sans Arabic';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(/fonts/ibm-plex-sans-arabic-arabic-500-normal.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;
}
@font-face {
  font-family: 'IBM Plex Sans Arabic';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(/fonts/ibm-plex-sans-arabic-arabic-600-normal.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;
}
@font-face {
  font-family: 'Noto Naskh Arabic';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(/fonts/noto-naskh-arabic-arabic-600-normal.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;
}
@font-face {
  font-family: 'Noto Naskh Arabic';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(/fonts/noto-naskh-arabic-arabic-700-normal.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;
}

body {
  margin: 0;
  background: #ffffff;
  color: #13202a;
  font-family: 'IBM Plex Sans', 'IBM Plex Sans Arabic', system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
}
html[lang='ar'] body {
  font-family: 'IBM Plex Sans Arabic', 'IBM Plex Sans', system-ui, sans-serif;
}
html {
  scroll-behavior: smooth;
}
a {
  color: #1c5a80;
}
a:hover {
  color: #0f2e42;
}
.nl {
  color: #c9d4dc;
  text-decoration: none;
}
.nl:hover {
  color: #ffffff;
}
.fl {
  color: #93a4b1;
  text-decoration: none;
}
.fl:hover {
  color: #ffffff;
}
.num {
  font-variant-numeric: tabular-nums;
}
a:focus-visible,
button:focus-visible,
summary:focus-visible {
  outline: 2px solid #7fb6d9;
  outline-offset: 3px;
  border-radius: 6px;
}
.span2 {
  grid-column: span 2;
}
.step {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 1.5px solid #b9c4cc;
  background: #ffffff;
  color: #0f2e42;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
}
.step:hover {
  border-color: #0f2e42;
}
.step:disabled {
  opacity: 0.4;
  cursor: default;
}
details > summary {
  list-style: none;
  cursor: pointer;
}
details > summary::-webkit-details-marker {
  display: none;
}
details[open] .plus {
  transform: rotate(45deg);
}
/* Buttons: one press feel for every filled action (2026-11-24 polish, TODO #251). */
.btn-gold,
.btn-navy {
  transition:
    background-color 0.15s,
    transform 0.15s;
}
.btn-gold:hover {
  background: #d6b46e !important;
  color: #0a2232 !important;
}
.btn-navy:hover {
  background: #1c5a80 !important;
  color: #ffffff !important;
}
.btn-gold:active,
.btn-navy:active {
  transform: translateY(1px);
}

/* The print-template thumbnails in the features grid: three A4 sheets drawn in HTML. */
.sheet {
  aspect-ratio: 210 / 297;
  background: #ffffff;
  border-radius: 3px;
  padding: 10%;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  text-align: start;
}
.sheet-logo {
  width: 22%;
  aspect-ratio: 1;
  border: 2px solid #0f2e42;
  border-radius: 50%;
  box-sizing: border-box;
  flex: none;
}
.sheet-bar {
  display: block;
  height: 5px;
  margin-top: 6px;
  border-radius: 2px;
  background: #c4ced6;
}
.sheet-rows {
  margin-top: 12%;
  margin-bottom: 10%;
  display: flex;
  flex-direction: column;
}
.sheet-rows > span {
  display: block;
  height: 9px;
  border-bottom: 1px solid #e3e7ea;
}
.sheet-rows.boxed > span:last-child {
  border-bottom: 0;
}

/* Sections rise into place once as they scroll in. landing.js adds .js to <html> first, so without the
   script (or with reduced motion) nothing is ever hidden. */
.js .reveal {
  opacity: 0;
  transform: translateY(24px);
  transition:
    opacity 0.6s ease,
    transform 0.6s ease;
}
.js .reveal.shown {
  opacity: 1;
  transform: none;
}

@media (max-width: 900px) {
  .hide-sm {
    display: none !important;
  }
}
@media (max-width: 760px) {
  .span2 {
    grid-column: auto;
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  .js .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
}
