/* Support page (support.lenouar.ae), in the style of the lenouar.ae contact page. */
@font-face { font-family: "Satoshi"; src: url("/assets/lenouar_intelligence/fonts/satoshi.woff2") format("woff2"); font-weight: 300 900; font-display: swap; }
@font-face { font-family: "Inter"; src: url("/assets/lenouar_intelligence/fonts/Inter-Latin.woff2") format("woff2"); font-weight: 100 900; font-display: swap; }
:root { --ink: #15181d; --muted: #65758b; --line: #e1e7ef; --field: rgba(21, 24, 29, .15); --soft: #f8fafc; --ok: #0f766e; --bad: #b42318; }
* { box-sizing: border-box; }
[hidden] { display: none !important; }
html, body { margin: 0; }
body { font-family: Inter, "Segoe UI", system-ui, -apple-system, sans-serif; color: var(--ink); background: #fff; -webkit-font-smoothing: antialiased; }
[lang=ar] body, [lang=ar] .hero h1, [lang=ar] .title, [lang=ar] .endsec h2 { font-family: "Noto Sans Arabic", "Segoe UI", Tahoma, Inter, sans-serif; letter-spacing: 0; }
a { color: var(--ink); text-underline-offset: 3px; }
button, input, select, textarea { font: inherit; color: inherit; }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; top: 8px; inset-inline-start: 8px; background: var(--ink); color: #fff; padding: 8px 12px; border-radius: 8px; z-index: 10; transform: translateY(-200%); }
.skip:focus { transform: none; }
[tabindex="-1"]:focus { outline: none; }
:focus-visible { outline: 2px solid var(--ink); outline-offset: 2px; }

/* Header */
.hdr { background: rgba(255, 255, 255, .92); position: relative; z-index: 5; }
.hdr-in { max-width: 1056px; margin: 0 auto; height: 65px; display: flex; align-items: center; gap: 24px; padding: 0 16px; }
.logo { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; font-size: 18px; line-height: 28px; letter-spacing: -.45px; color: var(--ink); text-decoration: none; flex: none; direction: ltr; }
.logo svg { width: 18px; height: 18px; flex: none; }
.logo-sub { font-size: 14px; font-weight: 500; color: var(--muted); padding-inline-start: 12px; margin-inline-start: 4px; border-inline-start: 1px solid var(--line); }
.nav { display: flex; gap: 4px; margin: 0 auto; }
.nav a { font-size: 14px; font-weight: 500; line-height: 20px; color: var(--muted); padding: 8px 12px; border-radius: 8px; text-decoration: none; }
.nav a[aria-current="page"], .nav a:hover { color: var(--ink); }
.menu { display: none; width: 44px; height: 44px; margin-inline-start: auto; border: 0; background: none; color: var(--ink); place-items: center; cursor: pointer; }
.menu svg { width: 24px; height: 24px; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 40px; padding: 0 16px; border-radius: 8px; font: 600 14px/20px Inter, system-ui, sans-serif; text-decoration: none; border: 0; cursor: pointer; white-space: nowrap; }
.btn.dark { background: var(--ink); color: #fff; }
.btn.out { background: #fff; color: var(--ink); border: 1px solid var(--field); }
.btn.lg { height: 48px; padding: 0 24px; font-size: 15px; }
.btn.wide { width: 100%; }
.btn[disabled] { opacity: .6; cursor: progress; }
.icon { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.ic { width: 28px; height: 28px; fill: none; stroke: var(--ink); stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; flex: none; }
[dir=rtl] .flip { transform: scaleX(-1); }

/* Frame */
.frame { max-width: 1120px; margin: 0 auto; border-left: 1px solid var(--line); border-right: 1px solid var(--line); }
.rule { border-top: 1px solid var(--line); }
.hero { position: relative; padding: 112px 32px; text-align: center; overflow: hidden; }
.hero.compact { padding: 88px 32px 80px; }
.hero::before { content: ""; position: absolute; inset: 0; background-image: radial-gradient(rgba(21, 24, 29, .2) 1px, transparent 1.4px); background-size: 24px 24px; background-position: 12px 12px; -webkit-mask-image: linear-gradient(to bottom, transparent 10%, #000 80%); mask-image: linear-gradient(to bottom, transparent 10%, #000 80%); pointer-events: none; }
.hero > * { position: relative; }
.hero h1 { margin: 0 auto; font-family: Satoshi, Inter, sans-serif; font-weight: 700; font-size: 48px; line-height: 1.15; letter-spacing: -.48px; color: var(--ink); max-width: 820px; overflow-wrap: anywhere; }
.lead { margin: 16px auto 0; font-size: 18px; line-height: 29.25px; color: var(--muted); max-width: 600px; overflow-wrap: anywhere; }
.crumb { margin: 0 0 12px; font-size: 14px; font-weight: 500; color: var(--muted); }
.meta { display: flex; gap: 10px; justify-content: center; align-items: center; flex-wrap: wrap; margin-top: 20px; font-size: 14px; color: var(--muted); }
.small { margin: 16px 0 0; font-size: 14px; color: var(--muted); }
.hero .small { margin-top: 20px; }
.cellwrap { padding: 0 32px; }
.cells { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.cells.two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.cells.side { grid-template-columns: minmax(0, 1fr) 360px; }
.cell { padding: 48px; display: flex; flex-direction: column; min-width: 0; }
.cells > .cell:not(:last-child) { border-right: 1px solid var(--line); }
[dir=rtl] .cells > .cell:not(:last-child) { border-right: 0; border-left: 1px solid var(--line); }
.cells.grid6 > .cell { border-right: 0; }
.cells.grid6 > .cell:not(:nth-child(3n)) { border-right: 1px solid var(--line); }
[dir=rtl] .cells.grid6 > .cell:not(:nth-child(3n)) { border-right: 0; border-left: 1px solid var(--line); }
.cells.grid6 > .cell:nth-child(-n+3) { border-bottom: 1px solid var(--line); }
.cell h2, .cell h3 { margin: 24px 0 0; font-size: 20px; font-weight: 600; line-height: 28px; letter-spacing: -.5px; }
.cell h2.first, .cell h3.first { margin-top: 0; }
.cell p.text { margin: 8px 0 0; font-size: 14px; line-height: 22.75px; color: var(--muted); max-width: 384px; }
.cell > .btn { margin-top: 24px; align-self: flex-start; }
.sec { padding: 80px 64px; }
.title { margin: 0 0 32px; font-family: Satoshi, Inter, sans-serif; font-weight: 700; font-size: 36px; line-height: 1.15; letter-spacing: -.36px; }
table.t { width: 100%; border-collapse: collapse; font-size: 15px; line-height: 1.5; }
.t th { text-align: start; font-size: 13px; font-weight: 600; color: var(--muted); padding-block: 0 12px; padding-inline: 0 24px; border-bottom: 1px solid var(--line); }
.t td { padding-block: 18px; padding-inline: 0 24px; border-bottom: 1px solid var(--line); vertical-align: top; }
.t td:first-child { font-weight: 600; width: 16%; }
.faq { display: grid; grid-template-columns: 300px minmax(0, 1fr); gap: 48px; align-items: start; }
.faq .title { margin: 0; }
.qa { border-bottom: 1px solid var(--line); }
.qa:first-child { border-top: 1px solid var(--line); }
.qa summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 16px; min-height: 44px; padding: 18px 0; font-size: 16px; font-weight: 600; }
.qa summary::-webkit-details-marker { display: none; }
.qa[open] summary .icon { transform: rotate(180deg); }
.qa p { margin: 0 0 18px; font-size: 15px; line-height: 1.65; color: var(--muted); max-width: 640px; }
.endsec { padding: 96px 32px; }
.endsec h2 { margin: 0; font-family: Satoshi, Inter, sans-serif; font-weight: 700; font-size: 36px; letter-spacing: -.36px; }
.endsec p { margin: 12px auto 0; font-size: 16px; line-height: 1.6; color: var(--muted); max-width: 520px; }
.actions { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; }
.endsec .actions, .hero .actions { justify-content: center; margin-top: 28px; }
.cell .actions { margin-top: 24px; }
.cell .actions .input { flex: 1 1 220px; max-width: 280px; }

/* Forms */
.formwrap { max-width: 672px; margin: 0 auto; padding: 64px 24px 72px; display: flex; flex-direction: column; gap: 20px; }
.cells.side form.cell { gap: 20px; }
.field { display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.field label, .label { font-size: 14px; font-weight: 500; color: var(--ink); }
.req { color: #dc2626; margin-inline-start: 2px; }
.opt { font-weight: 400; color: var(--muted); }
.input, .select, .area { height: 44px; border: 1px solid var(--field); border-radius: 8px; background: #fff; padding: 0 14px; font: 400 14px Inter, system-ui, sans-serif; color: var(--ink); width: 100%; }
.input::placeholder, .area::placeholder { color: #94a3b8; }
.select { appearance: none; -webkit-appearance: none; padding-right: 36px; background-image: linear-gradient(45deg, transparent 50%, #65758b 50%), linear-gradient(135deg, #65758b 50%, transparent 50%); background-position: calc(100% - 19px) 19px, calc(100% - 14px) 19px; background-size: 5px 5px, 5px 5px; background-repeat: no-repeat; }
[dir=rtl] .select { padding-right: 14px; padding-left: 36px; background-position: 19px 19px, 14px 19px; }
.area { height: 118px; padding: 10px 14px; resize: vertical; line-height: 1.5; }
.area.tall { height: 150px; }
.grid2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.drop { border: 1px dashed #cbd5e1; border-radius: 8px; padding: 14px 16px; display: flex; align-items: center; gap: 12px; font-size: 14px; color: var(--muted); }
.drop .grow { flex: 1; min-width: 0; }
.drop input[type=file] { position: absolute; width: 1px; height: 1px; opacity: 0; }
.files { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; list-style: none; }
.note { padding: 12px 14px; border-radius: 8px; background: var(--soft); border: 1px solid var(--line); font-size: 13px; line-height: 1.55; color: var(--muted); display: flex; gap: 10px; align-items: flex-start; }
.note .icon { width: 16px; height: 16px; margin-top: 1px; }
.error { margin: 0; padding: 12px 14px; border-radius: 8px; background: #fef3f2; border: 1px solid #fecdca; color: var(--bad); font-size: 14px; }
.hp { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); opacity: 0; }
.files:empty { display: none; }
.pill { display: inline-flex; align-items: center; font-size: 12px; font-weight: 600; padding: 3px 10px; border-radius: 999px; border: 1px solid var(--line); background: #fff; color: var(--ink); white-space: nowrap; }
.pill.amber { background: #fff7ed; color: #9a3412; border-color: #fed7aa; }
.pill.info { background: #eff6ff; color: #1e40af; border-color: #bfdbfe; }
.pill.done { background: #ecfdf3; color: #067647; border-color: #abefc6; }

/* Conversation */
.msgs { margin-top: 20px; }
.msg { display: flex; gap: 12px; padding: 20px 0; border-top: 1px solid var(--line); }
.msg:first-child { border-top: 0; padding-top: 0; }
.avatar { width: 32px; height: 32px; border-radius: 50%; background: #f1f5f9; color: var(--muted); display: grid; place-items: center; font-size: 13px; font-weight: 600; flex: none; }
.avatar.len { background: var(--ink); color: #fff; }
.msg-main { flex: 1; min-width: 0; }
.msgmeta { font-size: 13px; color: var(--muted); }
.msgmeta strong { color: var(--ink); font-weight: 600; }
.msgbody { margin: 6px 0 0; font-size: 15px; line-height: 1.6; color: #334155; overflow-wrap: anywhere; }
.msgbody p { margin: 0 0 10px; }
.chipfile { display: inline-flex; align-items: center; gap: 8px; margin: 10px 8px 0 0; padding: 8px 12px; border: 1px solid var(--line); border-radius: 8px; font-size: 13px; color: #334155; background: #fff; cursor: pointer; }
.composer { margin-top: 8px; padding-top: 20px; border-top: 1px solid var(--line); display: flex; flex-direction: column; gap: 12px; }
.steps { list-style: none; margin: 20px 0 0; padding: 0; display: flex; flex-direction: column; }
.steps li { display: flex; gap: 12px; padding: 0 0 20px; }
.steps strong { display: block; font-size: 14px; font-weight: 600; }
.steps span { font-size: 13px; color: var(--muted); }
.dotc { width: 22px; height: 22px; border-radius: 50%; border: 2px solid #cbd5e1; background: #fff; flex: none; display: grid; place-items: center; margin-top: 1px; }
.dotc.done { background: var(--ink); border-color: var(--ink); color: #fff; }
.dotc.now { border-color: var(--ink); box-shadow: inset 0 0 0 4px #fff, inset 0 0 0 10px var(--ink); }
.dotc .icon { width: 12px; height: 12px; stroke-width: 3; }
.rate { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 10px; }
.rate button { height: 80px; border: 1px solid var(--field); border-radius: 8px; background: #fff; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; cursor: pointer; color: var(--ink); }
.rate button b { font-size: 22px; font-family: Satoshi, Inter, sans-serif; }
.rate button span { font-size: 12px; color: var(--muted); }
.rate button[aria-pressed="true"] { border-color: var(--ink); background: var(--ink); color: #fff; }
.rate button[aria-pressed="true"] span { color: #cbd5e1; }
.loading { padding: 96px 32px; text-align: center; color: var(--muted); }

/* Footer */
.ftr { border-top: 1px solid var(--line); }
.ftr-in { max-width: 1256px; margin: 0 auto; padding: 64px 24px 32px; }
.ftr-grid { display: grid; grid-template-columns: 1.4fr repeat(3, minmax(0, 1fr)); gap: 32px; }
.ftr p { margin: 16px 0 0; font-size: 14px; line-height: 22.75px; color: var(--muted); max-width: 292px; }
.ftr h4 { margin: 0 0 16px; font-size: 14px; font-weight: 600; }
.ftr ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 14px; }
.ftr ul a { font-size: 14px; color: var(--muted); text-decoration: none; }
.ftr-bottom { margin-top: 56px; padding-top: 24px; border-top: 1px solid var(--line); display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 16px; font-size: 13px; color: var(--muted); }
.ftr-bottom a { color: var(--muted); text-decoration: none; }
.ftr-bottom nav { display: flex; gap: 20px; align-items: center; }
.toast { position: fixed; left: 50%; bottom: 24px; transform: translateX(-50%); background: var(--ink); color: #fff; padding: 12px 16px; border-radius: 8px; font-size: 14px; max-width: calc(100vw - 32px); z-index: 20; }

@media (max-width: 900px) {
	.hdr-in { padding: 0 24px; height: 64px; }
	.nav, .hdr-in > .btn { display: none; }
	.menu { display: grid; }
	.logo-sub { display: none; }
	.hdr.open .nav { display: flex; flex-direction: column; position: absolute; top: 64px; left: 0; right: 0; background: #fff; border-bottom: 1px solid var(--line); padding: 8px 16px 16px; margin: 0; }
	.hdr.open .nav a { padding: 12px; }
	.cells, .cells.two, .cells.grid6, .cells.side { grid-template-columns: 1fr; }
	.cells > .cell { border-right: 0 !important; border-left: 0 !important; border-bottom: 1px solid var(--line); }
	.cells > .cell:last-child { border-bottom: 0; }
	.cellwrap { padding: 0 24px; }
	.cell { padding: 40px 32px; }
	.faq { grid-template-columns: 1fr; gap: 24px; }
	.ftr-grid { grid-template-columns: 1fr 1fr; }
	.grid2 { grid-template-columns: 1fr; }
	.hero { padding: 72px 24px 64px; }
	.hero.compact { padding: 56px 24px 48px; }
	.hero h1 { font-size: 36px; }
	.lead { font-size: 17px; line-height: 1.6; }
	.sec { padding: 56px 24px; }
	.t td:first-child { width: auto; }
	.rate { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 6px; }
	.rate button { height: 68px; }
	.rate button span { font-size: 10px; }
}
@media (max-width: 560px) {
	.ftr-grid { grid-template-columns: 1fr; }
	.t th:nth-child(2), .t td:nth-child(2) { display: none; }
	.hero h1 { font-size: 30px; }
}
