/* is4ai.com — one stylesheet for every page.
   Two accents, one per track: cobalt is the paid track (lucratif), jade the free one
   (non lucratif). A colour on this site always means one of the two, never decoration. */

/* ── 1. Fonts — served from this site, never from a third party ───────────────────
   The page promises "sans traceurs": a font fetched from Google would hand every
   visitor's IP address to Google on each page view. */
@font-face{font-family:'Archivo';font-style:normal;font-weight:100 900;font-stretch:62% 125%;font-display:swap;src:url(/fonts/archivo-latin-ext.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}
@font-face{font-family:'Archivo';font-style:normal;font-weight:100 900;font-stretch:62% 125%;font-display:swap;src:url(/fonts/archivo-latin.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:'Instrument Serif';font-style:italic;font-weight:400;font-display:swap;src:url(/fonts/instrument-serif-italic-latin-ext.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}
@font-face{font-family:'Instrument Serif';font-style:italic;font-weight:400;font-display:swap;src:url(/fonts/instrument-serif-italic-latin.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:'JetBrains Mono';font-style:normal;font-weight:100 800;font-display:swap;src:url(/fonts/jetbrains-mono-latin-ext.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}
@font-face{font-family:'JetBrains Mono';font-style:normal;font-weight:100 800;font-display:swap;src:url(/fonts/jetbrains-mono-latin.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}
/* Minbar's own Arabic face, cut down to the four letters of « منبر » (1.7 KB). */
@font-face{font-family:'Minbar Arabic';font-style:normal;font-weight:700;font-display:swap;src:url(/fonts/plex-arabic-minbar.woff2) format('woff2');unicode-range:U+0628,U+0631,U+0645-0646}

/* ── 2. Tokens ──────────────────────────────────────────────────────────────────── */
:root {
  --paper: #F1F2EE;
  --surface: #FAFBF8;
  --surface-2: #ECEEE7;
  --ink: #111614;
  --ink-2: #2A322E;
  --muted: #59615C;
  --rule: #D5D9D2;
  --cobalt: #2D45D8;
  --cobalt-soft: #E2E6FA;
  --jade: #0F7A55;
  --jade-soft: #DAEEE4;
  --on-accent: #FFFFFF;
  --hover: rgba(17, 22, 20, .06);
  --todo-bg: #FFF1B8;
  --todo-ink: #5A4300;
  --shadow-1: 0 1px 0 rgba(17,22,20,.04), 0 12px 32px -16px rgba(17,22,20,.18);
  --shadow-2: 0 24px 60px -28px rgba(8, 30, 20, .35);
  --phone-frame: #1B211E;
  --sans: "Archivo", "Helvetica Neue", Arial, system-ui, sans-serif;
  --serif: "Instrument Serif", Georgia, "Times New Roman", serif;
  --mono: "JetBrains Mono", ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  --arabic: "Minbar Arabic", "Geeza Pro", "Noto Naskh Arabic", "Segoe UI", serif;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --paper: #0C100E; --surface: #141A17; --surface-2: #1B231F;
    --ink: #E7ECE8; --ink-2: #C8D1CC; --muted: #9BA59F;
    --rule: #27302B;
    --cobalt: #8C99FF; --cobalt-soft: #1B2150;
    --jade: #53D1A1; --jade-soft: #0F2D22;
    --on-accent: #0C100E;
    --hover: rgba(231, 236, 232, .07);
    --todo-bg: #4A3B00; --todo-ink: #FFE58A;
    --shadow-1: 0 1px 0 rgba(0,0,0,.4), 0 18px 40px -20px rgba(0,0,0,.6);
    --shadow-2: 0 30px 70px -30px rgba(0,0,0,.7);
    --phone-frame: #2C3531;
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --paper: #0C100E; --surface: #141A17; --surface-2: #1B231F;
  --ink: #E7ECE8; --ink-2: #C8D1CC; --muted: #9BA59F;
  --rule: #27302B;
  --cobalt: #8C99FF; --cobalt-soft: #1B2150;
  --jade: #53D1A1; --jade-soft: #0F2D22;
  --on-accent: #0C100E;
  --hover: rgba(231, 236, 232, .07);
  --todo-bg: #4A3B00; --todo-ink: #FFE58A;
  --shadow-1: 0 1px 0 rgba(0,0,0,.4), 0 18px 40px -20px rgba(0,0,0,.6);
  --shadow-2: 0 30px 70px -30px rgba(0,0,0,.7);
  --phone-frame: #2C3531;
  color-scheme: dark;
}

/* ── 3. Base ────────────────────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 88px; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0; background: var(--paper); color: var(--ink);
  font-family: var(--sans); font-size: 1.0625rem; line-height: 1.6;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
  overflow-x: clip;
}
img { max-width: 100%; height: auto; display: block; }
svg { max-width: 100%; }
[hidden] { display: none !important; }
a { color: inherit; }
p { margin: 0; }
h1, h2, h3, h4 { margin: 0; font-weight: 800; font-stretch: 118%; letter-spacing: -.015em; line-height: 1.04; text-wrap: balance; }
:focus-visible { outline: 2px solid var(--cobalt); outline-offset: 3px; border-radius: 6px; }

.wrap { max-width: 1200px; margin-inline: auto; padding-inline: clamp(16px, 4vw, 36px); }

.skip { position: absolute; left: 16px; top: -48px; z-index: 30; background: var(--ink); color: var(--paper); padding: 8px 14px; border-radius: 8px; text-decoration: none; font-weight: 600; }
.skip:focus { top: 12px; }

.eyebrow { font-stretch: 80%; font-weight: 650; text-transform: uppercase; letter-spacing: .12em; font-size: .78rem; color: var(--muted); display: inline-flex; align-items: center; gap: 10px; }
.eyebrow::before { content: ""; width: 22px; height: 2px; background: currentColor; opacity: .5; }

.brand { display: inline-flex; align-items: center; font-weight: 800; font-stretch: 125%; font-size: 1.4rem; letter-spacing: -.03em; text-decoration: none; line-height: 1; }
.four { display: inline-grid; place-items: center; width: 1.08em; height: 1.08em; margin-inline: .07em; border-radius: .24em; background: linear-gradient(135deg, var(--cobalt) 0 50%, var(--jade) 50% 100%); color: var(--on-accent); font-size: .86em; font-stretch: 100%; letter-spacing: 0; }

/* ── 4. Buttons ─────────────────────────────────────────────────────────────────── */
.btn { display: inline-flex; align-items: center; gap: .5em; font: inherit; font-weight: 650; font-size: .98rem; line-height: 1.2; padding: .82em 1.3em; border-radius: 999px; border: 1.5px solid transparent; text-decoration: none; cursor: pointer; transition: transform .18s cubic-bezier(.2,.7,.3,1), background-color .18s ease, border-color .18s ease; }
.btn:hover { transform: translateY(-1px); }
.btn--sm { padding: .55em 1.05em; font-size: .9rem; }
.btn--ink { background: var(--ink); color: var(--paper); }
.btn--ghost { border-color: var(--rule); color: var(--ink); background: transparent; }
.btn--ghost:hover { border-color: var(--ink); background: var(--hover); }
.btn--cobalt { background: var(--cobalt); color: var(--on-accent); }
.btn--jade { background: var(--jade); color: var(--on-accent); }
.btn .arrow { display: inline-block; transition: transform .2s ease; }
.btn:hover .arrow { transform: translateX(2px); }
@media (prefers-reduced-motion: reduce) { .btn, .btn:hover, .btn .arrow, .btn:hover .arrow { transition: none; transform: none; } }

/* ── 5. Header ──────────────────────────────────────────────────────────────────── */
.site-header { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 20; background: color-mix(in srgb, var(--paper) 86%, transparent); -webkit-backdrop-filter: saturate(1.4) blur(14px); backdrop-filter: saturate(1.4) blur(14px); border-bottom: 1px solid var(--rule); }
.bar { display: flex; align-items: center; gap: 16px; min-height: 70px; }
.status-pill { display: inline-flex; align-items: center; gap: 8px; font-family: var(--mono); font-size: .72rem; color: var(--muted); padding: 6px 12px; border: 1px solid var(--rule); border-radius: 999px; background: var(--surface); white-space: nowrap; }
.status-pill .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--jade); box-shadow: 0 0 0 3px color-mix(in srgb, var(--jade) 25%, transparent); animation: pulse 2.4s ease-in-out infinite; }
@keyframes pulse { 0%,100%{opacity:1} 50%{opacity:.45} }
@media (prefers-reduced-motion: reduce) { .status-pill .dot { animation: none; } }
.nav { display: flex; gap: 2px; margin-left: auto; }
.nav a { text-decoration: none; font-size: .95rem; color: var(--muted); padding: 8px 12px; border-radius: 8px; transition: color .15s ease, background-color .15s ease; white-space: nowrap; }
.nav a:hover { color: var(--ink); background: var(--hover); }
.lang { font-family: var(--mono); font-size: .78rem; font-weight: 600; text-decoration: none; color: var(--muted); padding: 7px 10px; border: 1px solid var(--rule); border-radius: 8px; }
.lang:hover { color: var(--ink); border-color: var(--ink); }

/* The phone menu is a <details>: it opens and closes without a line of script. */
.menu { display: none; position: relative; }
.menu summary { list-style: none; cursor: pointer; display: inline-flex; align-items: center; gap: 8px; font-weight: 650; font-size: .92rem; padding: 8px 12px; border: 1px solid var(--rule); border-radius: 999px; background: var(--surface); }
.menu summary::-webkit-details-marker { display: none; }
.menu summary svg { width: 16px; height: 16px; }
.menu[open] summary { border-color: var(--ink); }
.menu-panel { position: absolute; right: 0; top: calc(100% + 10px); width: min(300px, calc(100vw - 32px)); background: var(--surface); border: 1px solid var(--rule); border-radius: 18px; box-shadow: var(--shadow-1); padding: 8px; display: grid; }
.menu-panel a { text-decoration: none; padding: 12px 14px; border-radius: 10px; font-weight: 600; }
.menu-panel a:hover { background: var(--hover); }
.menu-panel .btn { margin-top: 6px; justify-content: center; }
@media (max-width: 960px) {
  .nav, .status-pill, .bar > .btn { display: none; }
  .menu { display: block; }
  .bar .lang { margin-left: auto; }
}

/* ── 6. Hero ────────────────────────────────────────────────────────────────────── */
.hero { position: relative; padding-block: clamp(52px, 8vw, 104px) clamp(48px, 7vw, 88px); overflow: hidden; }
.hero::before { content: ""; position: absolute; inset: 0; background: radial-gradient(60% 50% at 80% 0%, color-mix(in srgb, var(--cobalt) 14%, transparent), transparent 60%), radial-gradient(50% 50% at 0% 100%, color-mix(in srgb, var(--jade) 12%, transparent), transparent 60%); pointer-events: none; }
.hero .wrap { position: relative; }
.hero h1 { margin-top: 22px; font-size: clamp(2.3rem, 7vw, 5.4rem); font-stretch: 124%; line-height: .98; letter-spacing: -.03em; max-width: 1120px; }
.hero h1 .serif { font-family: var(--serif); font-weight: 400; font-stretch: 100%; font-style: italic; letter-spacing: -.01em; padding-right: .04em; }
.c { color: var(--cobalt); }
.j { color: var(--jade); }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: clamp(32px, 5vw, 72px); align-items: center; margin-top: clamp(32px, 4.5vw, 56px); }
@media (max-width: 900px) { .hero-grid { grid-template-columns: 1fr; } }
.lead { font-size: clamp(1.06rem, 1.4vw, 1.22rem); color: var(--muted); max-width: 56ch; line-height: 1.55; }
.lead strong { color: var(--ink); font-weight: 650; }
.promise { margin-top: 18px; padding: 14px 18px; border-left: 3px solid var(--jade); background: color-mix(in srgb, var(--jade-soft) 55%, var(--paper)); border-radius: 0 12px 12px 0; font-size: 1rem; color: var(--ink-2); max-width: 56ch; }
.promise b { color: var(--ink); }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }
.hero-meta { display: flex; flex-wrap: wrap; gap: 16px 28px; margin: 26px 0 0; padding-top: 22px; border-top: 1px solid var(--rule); }
.hero-meta div { display: grid; gap: 2px; }
.hero-meta dt { font-family: var(--mono); font-size: .72rem; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); }
.hero-meta dd { margin: 0; font-weight: 700; font-stretch: 112%; }

.tracks { width: 100%; max-width: 580px; height: auto; justify-self: end; overflow: visible; }
@media (max-width: 900px) { .tracks { justify-self: start; } }
.tracks .t { fill: none; stroke-width: 7; stroke-linecap: round; }
.tracks .t-cobalt { stroke: var(--cobalt); }
.tracks .t-jade { stroke: var(--jade); }
.tracks .t-next { stroke: var(--muted); stroke-width: 3; stroke-dasharray: 0 11; opacity: .65; }
.tracks .origin { fill: var(--ink); }
.tracks .st { fill: var(--paper); stroke-width: 6; }
.tracks .st-cobalt { stroke: var(--cobalt); }
.tracks .st-jade { stroke: var(--jade); }
.tracks .st-next { fill: var(--paper); stroke: var(--muted); stroke-width: 2.5; stroke-dasharray: 3 4; }
.tracks .mdot { fill: var(--paper); stroke-width: 3; }
.tracks .svg-label { font-family: var(--sans); font-stretch: 80%; font-weight: 750; font-size: 12.5px; letter-spacing: .14em; }
.tracks .svg-name { font-family: var(--sans); font-weight: 800; font-stretch: 120%; font-size: 24px; fill: var(--ink); }
.tracks .svg-sub { font-family: var(--sans); font-size: 14px; fill: var(--muted); }
.tracks .svg-next { font-family: var(--mono); font-size: 12px; fill: var(--muted); }
.fill-cobalt { fill: var(--cobalt); } .fill-jade { fill: var(--jade); } .fill-ink { fill: var(--ink); }
.stroke-cobalt { stroke: var(--cobalt); } .stroke-jade { stroke: var(--jade); }

/* ── 7. Numbers ─────────────────────────────────────────────────────────────────── */
.numbers { border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule); background: var(--surface); }
.numbers-row { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); margin: 0; }
@media (max-width: 760px) { .numbers-row { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.num { padding: clamp(20px, 3vw, 34px) clamp(14px, 2.5vw, 26px); border-right: 1px solid var(--rule); display: flex; flex-direction: column-reverse; justify-content: flex-end; gap: 6px; }
.num:last-child { border-right: none; }
@media (max-width: 760px) {
  .num { border-bottom: 1px solid var(--rule); }
  .num:nth-child(2n) { border-right: none; }
  .num:last-child { grid-column: 1 / -1; border-bottom: none; }
}
.num dd { margin: 0; font-weight: 800; font-stretch: 122%; letter-spacing: -.02em; font-size: clamp(1.8rem, 3vw, 2.6rem); line-height: 1; font-variant-numeric: tabular-nums; }
.num dd.c { color: var(--cobalt); } .num dd.j { color: var(--jade); }
.num dt { font-family: var(--mono); font-size: .72rem; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); }

/* ── 8. Sections ────────────────────────────────────────────────────────────────── */
.section { padding-block: clamp(64px, 9vw, 120px); border-top: 1px solid var(--rule); }
.numbers + .section { border-top: none; }
.section-head { display: grid; gap: 14px; max-width: 820px; margin-bottom: clamp(36px, 5vw, 60px); }
.section-head h2 { font-size: clamp(2rem, 4.4vw, 3.4rem); }
.section-lead { color: var(--muted); font-size: 1.1rem; max-width: 62ch; line-height: 1.55; }

/* The loop: who pays, who builds, who receives */
.loop { display: grid; grid-template-columns: 1fr auto 1fr auto 1fr; gap: 14px; align-items: stretch; }
@media (max-width: 860px) { .loop { grid-template-columns: 1fr; } .loop-arrow { justify-self: center; } .loop-arrow svg { transform: rotate(90deg); } }
.loop-node { border: 1px solid var(--rule); background: var(--surface); border-radius: 22px; padding: clamp(22px, 3vw, 32px); display: grid; gap: 10px; align-content: start; min-width: 0; }
.loop-node--cobalt { border-color: color-mix(in srgb, var(--cobalt) 40%, var(--rule)); }
.loop-node--jade { border-color: color-mix(in srgb, var(--jade) 40%, var(--rule)); }
.loop-node--studio { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.loop-node .who { font-family: var(--mono); font-size: .72rem; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); }
.loop-node--studio .who { color: color-mix(in srgb, var(--paper) 60%, var(--ink)); }
.loop-node h3 { font-size: 1.5rem; }
.loop-node p { color: var(--muted); font-size: .96rem; line-height: 1.5; }
.loop-node--studio p { color: color-mix(in srgb, var(--paper) 78%, var(--ink)); }
.loop-arrow { align-self: center; display: grid; gap: 4px; justify-items: center; color: var(--muted); font-family: var(--mono); font-size: .72rem; text-align: center; }
.loop-arrow svg { width: 40px; height: 20px; }
.loop-arrow--cobalt { color: var(--cobalt); } .loop-arrow--jade { color: var(--jade); }
.loop-out { margin-top: 22px; display: flex; flex-wrap: wrap; gap: 10px 14px; align-items: center; font-size: .95rem; color: var(--muted); }
.loop-out .x { display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px; border-radius: 999px; border: 1px dashed var(--rule); color: var(--ink-2); text-decoration: line-through; text-decoration-color: color-mix(in srgb, var(--muted) 60%, transparent); }

/* Catalogue */
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 26px; }
.chip { font: inherit; font-size: .86rem; font-weight: 600; padding: 8px 14px; border-radius: 999px; border: 1px solid var(--rule); background: var(--surface); color: var(--ink-2); cursor: pointer; transition: background-color .15s ease, border-color .15s ease; }
.chip:hover { border-color: var(--ink); }
.chip[aria-pressed="true"] { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.chip .n { font-family: var(--mono); font-size: .72rem; opacity: .7; margin-left: 6px; }
.catalogue { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 260px), 1fr)); gap: 16px; }
.card { display: flex; flex-direction: column; gap: 12px; padding: 22px; border-radius: 20px; border: 1px solid var(--rule); background: var(--surface); text-decoration: none; min-width: 0; transition: transform .2s ease, box-shadow .2s ease; }
.card:hover { transform: translateY(-2px); box-shadow: var(--shadow-1); }
@media (prefers-reduced-motion: reduce) { .card, .card:hover { transition: none; transform: none; } }
.card--dashed { border-style: dashed; background: transparent; }
.card-top { display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap; }
.card h3 { font-size: 1.5rem; font-stretch: 122%; letter-spacing: -.02em; display: flex; align-items: baseline; gap: .3em; flex-wrap: wrap; }
.card .tagline { color: var(--muted); font-size: .96rem; line-height: 1.45; }
.card .meta { margin-top: auto; padding-top: 12px; border-top: 1px solid var(--rule); display: flex; flex-wrap: wrap; gap: 6px 10px; font-family: var(--mono); font-size: .72rem; color: var(--muted); }
.card .go { font-weight: 650; font-size: .92rem; display: inline-flex; gap: 6px; align-items: center; }
.card--cobalt .go { color: var(--cobalt); } .card--jade .go { color: var(--jade); }
.pill { display: inline-flex; align-items: center; gap: 8px; font-stretch: 85%; font-weight: 700; font-size: .72rem; text-transform: uppercase; letter-spacing: .1em; padding: 6px 11px; border-radius: 999px; line-height: 1; white-space: nowrap; }
.pill--cobalt { background: var(--cobalt-soft); color: var(--cobalt); }
.pill--jade { background: var(--jade-soft); color: var(--jade); }
.state { display: inline-flex; align-items: center; gap: 6px; font-family: var(--mono); font-size: .7rem; color: var(--muted); }
.state::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--jade); }
.state--idea::before { background: transparent; border: 1.5px dashed var(--muted); }
.state--version::before { background: transparent; border: 2px solid var(--jade); }
.empty { padding: 24px; border: 1px dashed var(--rule); border-radius: 16px; color: var(--muted); text-align: center; }

/* Product detail */
.products { display: grid; gap: 28px; margin-top: clamp(40px, 5vw, 64px); }
.product { position: relative; display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: clamp(24px, 5vw, 60px); align-items: center; background: var(--surface); border: 1px solid var(--rule); border-radius: 30px; padding: clamp(22px, 4.5vw, 52px); overflow: hidden; scroll-margin-top: 96px; }
.product::before { content: ""; position: absolute; left: 0; top: 0; height: 4px; width: 100%; background: linear-gradient(90deg, transparent, var(--cobalt), var(--jade), transparent); opacity: .8; }
.product--flip .product-visual { order: -1; }
@media (max-width: 940px) { .product { grid-template-columns: 1fr; } .product--flip .product-visual { order: 0; } }
.product-info { display: flex; flex-direction: column; gap: 18px; min-width: 0; }
.product-tags { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; }
.tag { font-family: var(--mono); font-size: .76rem; color: var(--muted); }
.product-name { display: flex; flex-wrap: wrap; align-items: baseline; gap: .1em .38em; font-size: clamp(2.3rem, 5.2vw, 3.8rem); font-stretch: 125%; letter-spacing: -.03em; line-height: .98; }
.ar { font-family: var(--arabic); font-weight: 700; font-stretch: 100%; letter-spacing: 0; color: var(--jade); font-size: .82em; }
.product-tagline { font-size: 1.2rem; font-weight: 650; line-height: 1.35; }
.product-tagline em, .contact h2 em { font-family: var(--serif); font-style: italic; font-weight: 400; font-stretch: 100%; }
.desc { color: var(--muted); max-width: 56ch; line-height: 1.55; }
.specs { display: grid; grid-template-columns: max-content 1fr; gap: 12px 22px; margin: 4px 0 0; padding-top: 18px; border-top: 1px solid var(--rule); }
.specs dt { font-family: var(--mono); font-size: .72rem; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); padding-top: .32em; }
.specs dd { margin: 0; font-size: .98rem; color: var(--ink-2); }
@media (max-width: 480px) { .specs { grid-template-columns: 1fr; gap: 2px; } .specs dd { margin-bottom: 10px; } }
.product-info .btn { align-self: flex-start; margin-top: 4px; }
.product-visual { margin: 0; border-radius: 22px; padding: clamp(16px, 3vw, 30px); min-width: 0; }

/* Real screens of each app, two phones side by side. The ground takes the app's track. */
.visual-label { font-family: var(--mono); font-size: .74rem; color: var(--muted); text-transform: uppercase; letter-spacing: .08em; }
.phones { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(12px, 2.4vw, 26px); padding: clamp(16px, 3vw, 28px) clamp(16px, 3vw, 34px) clamp(28px, 4vw, 48px); align-items: start; border: 1px solid var(--rule); }
.phones--jade { background: linear-gradient(160deg, var(--jade-soft), color-mix(in srgb, var(--jade-soft) 50%, var(--paper))); }
.phones--cobalt { background: linear-gradient(160deg, var(--cobalt-soft), color-mix(in srgb, var(--cobalt-soft) 50%, var(--paper))); }
/* The label sits in the grid's first row, so a long one wraps instead of covering a phone. */
.phones-label { grid-column: 1 / -1; }
.phone { margin: 0; display: grid; gap: 10px; min-width: 0; }
.phone:nth-child(3) { margin-top: clamp(28px, 5vw, 56px); }
.phone img { width: 100%; aspect-ratio: 390 / 844; object-fit: cover; border-radius: clamp(18px, 2.8vw, 30px); border: clamp(4px, .6vw, 7px) solid var(--phone-frame); background: var(--phone-frame); box-shadow: var(--shadow-2); }
.phone figcaption { font-family: var(--mono); font-size: .72rem; color: var(--muted); text-align: center; }

/* Principles — a numbered catalogue, each rule tied to the app that proves it */
.signals { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid var(--rule); border-left: 1px solid var(--rule); }
@media (max-width: 940px) { .signals { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 580px) { .signals { grid-template-columns: 1fr; } }
.signal { display: flex; flex-direction: column; gap: 10px; padding: clamp(22px, 3vw, 32px); border-right: 1px solid var(--rule); border-bottom: 1px solid var(--rule); min-width: 0; }
.signal .idx { font-family: var(--mono); font-size: .78rem; color: var(--muted); font-variant-numeric: tabular-nums; display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.signal h3 { font-size: 1.3rem; font-stretch: 112%; letter-spacing: -.012em; }
.signal p { color: var(--muted); line-height: 1.55; font-size: .98rem; }
.src { display: inline-flex; align-items: center; gap: 8px; font-family: var(--mono); font-size: .72rem; margin-top: auto; padding-top: 8px; }
.src::before { content: ""; width: 18px; height: 4px; border-radius: 2px; background: currentColor; }
.src--cobalt { color: var(--cobalt); } .src--jade { color: var(--jade); } .src--both { color: var(--ink); }
.src--both::before { background: linear-gradient(90deg, var(--cobalt) 50%, var(--jade) 50%); }

/* FAQ */
.faq { border-top: 1px solid var(--rule); max-width: 860px; }
.faq details { border-bottom: 1px solid var(--rule); }
.faq summary { cursor: pointer; list-style: none; display: flex; justify-content: space-between; gap: 16px; align-items: center; padding: 20px 4px; font-weight: 700; font-stretch: 112%; font-size: 1.08rem; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-family: var(--mono); font-size: 1.2rem; color: var(--muted); flex: none; transition: transform .2s ease; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq .a { padding: 0 4px 22px; color: var(--muted); line-height: 1.6; max-width: 66ch; }
.faq .a a { color: var(--ink); }

/* Contact — inverted in both themes */
.contact { background: var(--ink); color: var(--paper); padding-block: clamp(64px, 9vw, 120px); position: relative; overflow: hidden; }
.contact::before { content: ""; position: absolute; inset: 0; background: radial-gradient(40% 60% at 100% 0%, color-mix(in srgb, var(--cobalt) 22%, transparent), transparent 60%), radial-gradient(40% 60% at 0% 100%, color-mix(in srgb, var(--jade) 18%, transparent), transparent 60%); pointer-events: none; }
.contact .wrap { position: relative; }
.contact .eyebrow { color: color-mix(in srgb, var(--paper) 62%, var(--ink)); }
.contact h2 { font-size: clamp(2.2rem, 5.4vw, 4.2rem); font-stretch: 122%; margin-top: 16px; max-width: 920px; line-height: 1; }
.contact-text { margin-top: 20px; max-width: 56ch; font-size: 1.12rem; color: color-mix(in srgb, var(--paper) 78%, var(--ink)); line-height: 1.55; }
.email-row { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 20px; margin-top: 32px; }
.email { font-weight: 800; font-stretch: 118%; letter-spacing: -.015em; font-size: clamp(1.4rem, 4.6vw, 2.7rem); line-height: 1.1; overflow-wrap: anywhere; user-select: all; -webkit-user-select: all; color: var(--paper); background: linear-gradient(135deg, var(--paper) 0%, color-mix(in srgb, var(--cobalt) 70%, var(--paper)) 50%, color-mix(in srgb, var(--jade) 70%, var(--paper)) 100%); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
@media (forced-colors: active) { .email { -webkit-text-fill-color: CanvasText; background: none; } }
.btn--paper { background: var(--paper); color: var(--ink); }
.btn--line { border-color: color-mix(in srgb, var(--paper) 35%, var(--ink)); color: var(--paper); background: transparent; }
.btn--line:hover { border-color: var(--paper); background: color-mix(in srgb, var(--paper) 8%, transparent); }
.copy-status { min-height: 1.6em; margin-top: 12px; font-family: var(--mono); font-size: .8rem; color: color-mix(in srgb, var(--paper) 70%, var(--ink)); }
.contact :focus-visible { outline-color: var(--paper); }
.contact-channels { margin-top: clamp(36px, 5vw, 60px); display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; border-top: 1px solid color-mix(in srgb, var(--paper) 18%, transparent); padding-top: 28px; }
@media (max-width: 720px) { .contact-channels { grid-template-columns: 1fr; } }
.channel .ctype { font-family: var(--mono); font-size: .72rem; text-transform: uppercase; letter-spacing: .08em; color: color-mix(in srgb, var(--paper) 55%, var(--ink)); }
.channel .ctext { margin-top: 8px; color: color-mix(in srgb, var(--paper) 88%, var(--ink)); }

/* ── 9. Footer ──────────────────────────────────────────────────────────────────── */
.site-footer { padding-block: 40px; font-size: .9rem; color: var(--muted); border-top: 1px solid var(--rule); }
.foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px 32px; }
.foot-id { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 18px; }
.foot-id .brand { font-size: 1.15rem; color: var(--ink); }
.foot-id .meta { display: flex; flex-direction: column; gap: 2px; }
.foot-id .meta small { font-family: var(--mono); font-size: .7rem; color: var(--muted); }
.foot nav { display: flex; flex-wrap: wrap; gap: 8px 22px; }
.foot nav a { text-decoration: none; }
.foot nav a:hover { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }

/* ── Consent banner (consent.js) ────────────────────────────────────────────────────
   Bottom corner, never over the whole page: the site stays readable and usable while the
   question waits, and refusing is the same size of button as accepting. */
.consent {
  position: fixed; z-index: 40; left: 16px; bottom: calc(16px + env(safe-area-inset-bottom, 0px));
  width: min(420px, calc(100vw - 32px));
  display: grid; gap: 10px; padding: 18px 18px 16px;
  background: var(--surface); color: var(--ink);
  border: 1px solid var(--rule); border-radius: 18px; box-shadow: var(--shadow-1);
}
.consent__title { font-weight: 750; font-stretch: 112%; font-size: 1.02rem; }
.consent__body { font-size: .92rem; line-height: 1.5; color: var(--ink-2); }
.consent__body a { color: var(--ink); text-underline-offset: 3px; }
.consent__row { display: flex; gap: 10px; justify-content: flex-end; flex-wrap: wrap; margin-top: 4px; }
.consent__row .btn { flex: 1 1 0; justify-content: center; }
.foot .cookies { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
.foot .cookies:hover { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }
.no-consent [data-cookies] { display: none; }

/* ── 10. Legal pages and 404 ────────────────────────────────────────────────────── */
.doc { padding-block: clamp(48px, 7vw, 88px) clamp(64px, 9vw, 112px); }
.doc-head { display: grid; gap: 14px; max-width: 760px; margin-bottom: clamp(32px, 4vw, 48px); padding-bottom: clamp(24px, 3vw, 32px); border-bottom: 1px solid var(--rule); }
.doc-head h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); font-stretch: 122%; }
.doc-head .updated { font-family: var(--mono); font-size: .76rem; color: var(--muted); }
.prose { max-width: 70ch; display: grid; gap: 16px; }
.prose h2 { font-size: 1.45rem; font-stretch: 112%; margin-top: 22px; }
.prose p, .prose li { color: var(--ink-2); }
.prose ul { margin: 0; padding-left: 1.2em; display: grid; gap: 6px; }
.prose a { color: var(--ink); text-underline-offset: 3px; }
.prose address { font-style: normal; padding: 16px 18px; border: 1px solid var(--rule); border-radius: 14px; background: var(--surface); display: grid; gap: 4px; }
.prose .table-wrap { overflow-x: auto; border: 1px solid var(--rule); border-radius: 14px; }
.prose table { width: 100%; border-collapse: collapse; font-size: .95rem; min-width: 520px; }
.prose th, .prose td { text-align: left; padding: 12px 14px; border-top: 1px solid var(--rule); vertical-align: top; }
.prose thead th { border-top: none; background: var(--surface-2); font-family: var(--mono); font-size: .72rem; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); }
/* A fact still to be filled in before going live: impossible to miss. */
.todo { background: var(--todo-bg); color: var(--todo-ink); padding: 1px 6px; border-radius: 4px; font-family: var(--mono); font-size: .86em; }

.lost { padding-block: clamp(72px, 12vw, 160px); }
.lost .code { font-family: var(--mono); color: var(--muted); font-size: .9rem; }
.lost h1 { font-size: clamp(2.4rem, 6vw, 4.6rem); font-stretch: 124%; margin-top: 18px; max-width: 900px; }
.lost h1 .serif { font-family: var(--serif); font-weight: 400; font-style: italic; font-stretch: 100%; }
.lost p { margin-top: 18px; color: var(--muted); max-width: 54ch; }
.lost .actions + .actions { margin-top: 12px; }
