/* RitmoFuel website styles. Colours from design/design-tokens.json and the
   approved dark palette (lib/core/theme/tokens.dart RfDarkColors).
   No web fonts are downloaded (privacy, speed): Noto Sans / Noto Sans Arabic
   are used when installed, otherwise the system font. */
:root {
  color-scheme: light dark;
  --canvas: #F6F3EB;      /* cream */
  --surface: #FFFFFF;
  --text: #182421;        /* charcoal, 14.4:1 on cream */
  --muted: #52665F;       /* 5.5:1 on cream */
  --line: #D1D9D2;
  --primary: #123B32;     /* pine */
  --on-primary: #F6F3EB;
  --link: #123B32;
  --highlight: #BDE7C6;   /* mint */
  --on-highlight: #123B32;
  --coral: #EF765D;
  --notice: #FFF1CC;
  --notice-line: #E8CF8E;
  --on-notice: #5A4410;
  --radius-card: 24px;
  --radius-control: 16px;
  --gutter: 16px;
  --max: 640px;
}
@media (prefers-color-scheme: dark) {
  :root {
    --canvas: #0F1A17;
    --surface: #17241F;
    --text: #EEF1EC;
    --muted: #A3B4AC;
    --line: #2E3F39;
    --primary: #BDE7C6;   /* mint fill, pine text (9.1:1) */
    --on-primary: #123B32;
    --link: #BDE7C6;
    --highlight: #1F3A31;
    --on-highlight: #D5EFDB;
    --notice: #3A3115;
    --notice-line: #6E5A26;
    --on-notice: #F5E3A8;
  }
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--canvas);
  color: var(--text);
  font-family: "Noto Sans", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  font-size: 16px;
  line-height: 1.45;
}
html[lang="ar"] body {
  font-family: "Noto Sans Arabic", "Geeza Pro", "Segoe UI", Tahoma, "Noto Sans", system-ui, sans-serif;
  line-height: 1.65;
}
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }
.skip { position: absolute; inset-inline-start: -999px; top: 8px; }
.skip:focus { inset-inline-start: 8px; background: var(--surface); padding: 8px 12px; border-radius: 8px; z-index: 10; }
header.site { border-bottom: 1px solid var(--line); background: var(--canvas); }
header.site .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 16px; padding-top: 12px; padding-bottom: 12px; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--text); text-decoration: none; font-weight: 700; font-size: 20px; min-height: 48px; }
.brand svg { width: 32px; height: 32px; flex: none; }
.brand .stroke { stroke: var(--primary); }
nav.langs { display: flex; flex-wrap: wrap; gap: 4px; }
nav.langs a { display: inline-flex; align-items: center; min-height: 40px; padding: 0 10px; border-radius: 999px; color: var(--text); text-decoration: none; font-size: 14px; border: 1px solid transparent; }
nav.langs a:hover { border-color: var(--line); }
nav.langs a[aria-current="true"] { background: var(--highlight); color: var(--on-highlight); font-weight: 700; }
main { padding: 24px 0 40px; }
h1 { font-size: 32px; line-height: 1.2; margin: 8px 0 12px; }
h2 { font-size: 22px; line-height: 1.3; margin: 32px 0 8px; }
h3 { font-size: 18px; margin: 20px 0 6px; }
p, ul, ol { margin: 0 0 12px; }
ul, ol { padding-inline-start: 22px; }
li { margin-bottom: 6px; }
a { color: var(--link); text-underline-offset: 2px; }
a:focus-visible, button:focus-visible { outline: 3px solid var(--coral); outline-offset: 2px; border-radius: 4px; }
.meta { color: var(--muted); font-size: 14px; }
.lead { font-size: 20px; color: var(--text); }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-card); padding: 20px; margin: 16px 0; }
.notice { background: var(--notice); border: 1px solid var(--notice-line); color: var(--on-notice); border-radius: var(--radius-control); padding: 12px 16px; margin: 16px 0; }
.hero { text-align: center; padding: 24px 0 8px; }
.hero svg { width: 96px; height: 96px; }
.hero h1 { font-size: 40px; margin-top: 12px; }
.badges { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin: 16px 0; }
.badge { display: inline-flex; align-items: center; min-height: 48px; padding: 0 18px; border-radius: var(--radius-control); border: 1px dashed var(--muted); color: var(--muted); font-size: 14px; }
.links { list-style: none; padding: 0; display: grid; gap: 8px; }
.links a { display: flex; align-items: center; min-height: 56px; padding: 12px 16px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-control); text-decoration: none; color: var(--text); font-weight: 700; }
.links a span { display: block; font-weight: 400; color: var(--muted); font-size: 14px; }
.links a > div { flex: 1; }
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 0 20px; border-radius: var(--radius-control); background: var(--primary); color: var(--on-primary); text-decoration: none; font-weight: 700; }
.steps { counter-reset: s; list-style: none; padding: 0; }
.steps li { counter-increment: s; position: relative; padding-inline-start: 40px; min-height: 28px; margin-bottom: 10px; }
.steps li::before { content: counter(s); position: absolute; inset-inline-start: 0; top: 0; width: 28px; height: 28px; border-radius: 999px; background: var(--highlight); color: var(--on-highlight); font-weight: 700; display: flex; align-items: center; justify-content: center; font-size: 14px; }
details { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-control); padding: 0 16px; margin: 8px 0; }
summary { cursor: pointer; font-weight: 700; min-height: 48px; display: flex; align-items: center; padding: 12px 0; }
details[open] summary { border-bottom: 1px solid var(--line); margin-bottom: 12px; }
table { width: 100%; border-collapse: collapse; font-size: 15px; margin: 8px 0 16px; }
th, td { text-align: start; vertical-align: top; padding: 8px; border-bottom: 1px solid var(--line); }
th { color: var(--muted); font-weight: 700; font-size: 14px; }
.table-scroll { overflow-x: auto; }
footer.site { border-top: 1px solid var(--line); color: var(--muted); font-size: 14px; padding: 20px 0 32px; }
footer.site nav { display: flex; flex-wrap: wrap; gap: 4px 16px; margin-bottom: 12px; }
footer.site nav a { color: var(--text); min-height: 40px; display: inline-flex; align-items: center; }
footer.site p { margin: 0 0 6px; }
@media (min-width: 700px) {
  h1 { font-size: 36px; }
  .hero h1 { font-size: 48px; }
}

/* Discreet, readable business identification; never concealed. */
.legal-identity { font-size: 14px; color: var(--muted); line-height: 1.6; }
