/* The public landing page (resources/views/welcome.blade.php, script public/js/landing.js). The logo's idea carried
   through the page: a box made of circuit traces ending in dots. In the hero the box is the hub: a trace leaves it for
   every action (write, validate, approve, schedule, publish, answer) and publishing splits to every network. One trace
   then leaves the box and runs down the page, linking the sections node to node; it draws itself as the page scrolls.
   Black and white like the logo; the app's type (Plus Jakarta Sans headings, Saira italic labels and figures like the
   slanted wordmark, Poppins text). Every motion is skipped for people who ask for less motion; the looping pulses of
   the hero have a pause button. Arabic pages use public/css/rtl/landing.css, made from this file (npm run rtl). */

:root {
    --lp-ink: #0a0a0b;
    --lp-ink-2: #17171b;
    --lp-paper: #ffffff;
    --lp-bone: #f4f4f1;
    --lp-soft: #eeeeee;
    --lp-line: #e3e3e6;
    --lp-muted: #5f5f67;
    --lp-on-ink: #f5f5f3;
    --lp-on-ink-muted: rgba(245, 245, 243, 0.72);
    --lp-green: #19a45b;
    --lp-red: #e5383b;
    --lp-head: "Plus Jakarta Sans", "Poppins", system-ui, sans-serif;
    --lp-tag: "Saira", "Poppins", system-ui, sans-serif;
    --lp-text: "Poppins", system-ui, -apple-system, "Segoe UI", sans-serif;
    --lp-radius: 28px;
    --lp-radius-sm: 16px;
    --lp-hex: polygon(50% 0, 93.3% 25%, 93.3% 75%, 50% 100%, 6.7% 75%, 6.7% 25%);
    --lp-ease: cubic-bezier(0.2, 0.8, 0.2, 1);
    --lp-wrap: 1180px;
    --lp-header: 76px;
    --lp-indent: 76px;   /* room for the rail at the start of every section */
    --lp-rail: 20px;     /* where the rail runs, from the start of a section's content box */
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 88px; }
body {
    position: relative; margin: 0; background: var(--lp-bone); color: var(--lp-ink); font-family: var(--lp-text); font-size: 16px; line-height: 1.6;
    -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; overflow-x: clip;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
:focus-visible { outline: 3px solid #7aa2ff; outline-offset: 3px; border-radius: 6px; }
.lp-skip { position: absolute; left: 16px; top: -60px; z-index: 60; padding: 10px 16px; border-radius: 10px; background: var(--lp-paper); color: var(--lp-ink); text-decoration: none; }
.lp-skip:focus { top: 12px; }
.lp-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.lp-wrap { position: relative; width: 100%; max-width: var(--lp-wrap); margin: 0 auto; padding: 0 24px; }
.lp-tag { margin: 0; font-family: var(--lp-tag); font-style: italic; font-weight: 600; font-size: 13px; letter-spacing: 0.16em; text-transform: uppercase; }

/* ---------------------------------------------------------------- header: on the black hero, then light */
.lp-header { position: fixed; inset: 0 0 auto; z-index: 40; border-bottom: 1px solid transparent; transition: background 0.35s, border-color 0.35s, color 0.35s; }
.lp-header.is-on-dark.is-scrolled { background: rgba(10, 10, 11, 0.78); -webkit-backdrop-filter: saturate(160%) blur(16px); backdrop-filter: saturate(160%) blur(16px); }
.lp-header:not(.is-on-dark) { background: rgba(244, 244, 241, 0.8); -webkit-backdrop-filter: saturate(160%) blur(16px); backdrop-filter: saturate(160%) blur(16px); border-bottom-color: var(--lp-line); }
.lp-header-in { display: flex; align-items: center; gap: 28px; height: var(--lp-header); }
.lp-logo { display: inline-flex; flex: 0 0 auto; }
.lp-logo img { height: 50px; width: auto; margin-inline-start: -10px; transition: filter 0.35s; }
.lp-header.is-on-dark .lp-logo img { filter: invert(1); }
.lp-nav { display: flex; align-items: center; gap: 26px; margin-left: auto; }
.lp-nav a { font-size: 14.5px; font-weight: 500; text-decoration: none; opacity: 0.8; transition: opacity 0.2s; }
.lp-nav a:hover { opacity: 1; }
.lp-nav .lp-nav-account { display: none; }
.lp-header.is-on-dark .lp-nav a { color: var(--lp-on-ink); }
.lp-actions { display: flex; align-items: center; gap: 12px; }
.lp-langs { display: inline-flex; padding: 3px; border-radius: 99px; background: rgba(10, 10, 11, 0.06); }
.lp-langs a { padding: 5px 10px; border-radius: 99px; font-family: var(--lp-tag); font-weight: 600; font-size: 12px; letter-spacing: 0.06em; text-decoration: none; color: var(--lp-muted); }
.lp-langs a.is-on { background: var(--lp-ink); color: var(--lp-paper); }
.lp-header.is-on-dark .lp-langs { background: rgba(245, 245, 243, 0.1); }
.lp-header.is-on-dark .lp-langs a { color: var(--lp-on-ink-muted); }
.lp-header.is-on-dark .lp-langs a.is-on { background: var(--lp-paper); color: var(--lp-ink); }
.lp-header.is-on-dark .lp-actions .lp-btn { border-color: var(--lp-paper); background: var(--lp-paper); color: var(--lp-ink); }
.lp-btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 46px; padding: 0 22px; border: 1.5px solid var(--lp-ink);
    border-radius: 99px; background: var(--lp-ink); color: var(--lp-paper); font: 600 15px/1 var(--lp-text); text-decoration: none; cursor: pointer;
    transition: transform 0.25s var(--lp-ease), background 0.25s, color 0.25s, border-color 0.25s;
}
.lp-btn:hover { transform: translateY(-2px); }
.lp-btn--light { border-color: var(--lp-paper); background: var(--lp-paper); color: var(--lp-ink); }
.lp-btn--line { border-color: rgba(245, 245, 243, 0.4); background: transparent; color: var(--lp-on-ink); }
.lp-btn--small { min-height: 40px; padding: 0 18px; font-size: 14px; }
.lp-btn .lp-arrow { transition: transform 0.25s var(--lp-ease); }
.lp-btn:hover .lp-arrow { transform: translateX(3px); }
.lp-menu { display: none; width: 44px; height: 44px; border: 0; border-radius: 12px; background: rgba(10, 10, 11, 0.06); cursor: pointer; }
.lp-menu span { display: block; width: 18px; height: 2px; margin: 4px auto; border-radius: 2px; background: var(--lp-ink); transition: transform 0.25s var(--lp-ease), opacity 0.2s; }
.lp-header.is-on-dark .lp-menu { background: rgba(245, 245, 243, 0.12); }
.lp-header.is-on-dark .lp-menu span { background: var(--lp-on-ink); }
.lp-menu[aria-expanded="true"] span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.lp-menu[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.lp-menu[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* ---------------------------------------------------------------- hero: the whole screen, the box as a hub */
.lp-hero {
    position: relative; overflow: hidden; display: flex; align-items: center; min-height: 100vh; min-height: 100svh; padding: calc(var(--lp-header) + 32px) 0 96px;
    background: var(--lp-ink); color: var(--lp-on-ink); isolation: isolate;
}
/* the honeycomb behind, like the app's pages */
.lp-hero::before {
    content: ""; position: absolute; inset: 0; z-index: -1; opacity: 0.6;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='56' height='97' viewBox='0 0 56 97'%3E%3Cpath d='M28 0l28 16.2v32.3L28 64.7 0 48.5V16.2zM28 64.7v32.3' fill='none' stroke='%23ffffff' stroke-opacity='0.06'/%3E%3C/svg%3E");
    -webkit-mask-image: radial-gradient(ellipse at 70% 45%, #000 0%, transparent 72%); mask-image: radial-gradient(ellipse at 70% 45%, #000 0%, transparent 72%);
}
.lp-hero::after {
    content: ""; position: absolute; z-index: -1; width: 760px; height: 760px; right: -120px; top: 50%; margin-top: -380px; border-radius: 50%;
    background: radial-gradient(closest-side, rgba(255, 255, 255, 0.08), transparent);
}
.lp-hero-in { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.08fr); align-items: center; gap: 40px; }
.lp-hero-copy .lp-tag { color: var(--lp-on-ink-muted); }
.lp-hero-copy .lp-tag::before { content: ""; display: inline-block; width: 26px; height: 2px; margin-right: 12px; vertical-align: middle; background: currentColor; }
.lp-hero h1 { margin: 22px 0 0; font-family: var(--lp-head); font-weight: 800; font-size: clamp(42px, 5.4vw, 76px); line-height: 1.02; letter-spacing: -0.035em; text-wrap: balance; }
.lp-hero-sub { max-width: 520px; margin: 26px 0 0; font-size: 17.5px; line-height: 1.7; color: var(--lp-on-ink-muted); }
.lp-hero-ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 36px; }
.lp-scroll-hint { position: absolute; left: 50%; bottom: 26px; transform: translateX(-50%); font-family: var(--lp-tag); font-style: italic; font-weight: 600; font-size: 12px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--lp-on-ink-muted); text-decoration: none; }

/* the hub: drawn in a 640 × 560 box; chips and networks are placed over it in % of that box, the same in Arabic */
.lp-hub { position: relative; width: 100%; max-width: 620px; margin-inline-start: auto; aspect-ratio: 640 / 560; }
.lp-hub-svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.lp-hub-face, .lp-hub-trace { fill: none; stroke: var(--lp-on-ink); stroke-linecap: round; stroke-linejoin: round; }
.lp-hub-face { stroke-width: 9; }
.lp-hub-trace { stroke-width: 4; }
.lp-hub-dot { fill: var(--lp-on-ink); }
.lp-hub-dot--publish { fill: var(--lp-green); }
.lp-hub-pulse { fill: none; stroke: #fff; stroke-width: 5; stroke-linecap: round; opacity: 0; filter: drop-shadow(0 0 6px rgba(255, 255, 255, 0.95)); }
/*rtl:ignore*/
.lp-hub-chip {
    position: absolute; transform: translate(-50%, -100%); display: inline-flex; align-items: center; gap: 7px; padding: 6px 12px; border: 1px solid rgba(245, 245, 243, 0.18);
    border-radius: 99px; background: rgba(23, 23, 27, 0.88); color: var(--lp-on-ink); font-family: var(--lp-tag); font-style: italic; font-weight: 600; font-size: 13px;
    letter-spacing: 0.04em; white-space: nowrap; -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
}
/*rtl:ignore*/
.lp-hub-chip--below { transform: translate(-50%, 0); }
/*rtl:ignore*/
.lp-hub-chip--side { transform: translate(0, -50%); }
.lp-hub-chip b { font-family: var(--lp-tag); font-weight: 800; font-size: 11px; color: var(--lp-on-ink-muted); }
.lp-hub-chip--publish { border-color: rgba(25, 164, 91, 0.6); }
/*rtl:ignore*/
.lp-hub-net {
    position: absolute; transform: translate(-50%, -50%); display: grid; place-items: center; width: 7%; aspect-ratio: 1; min-width: 30px; border-radius: 12px;
    background: var(--lp-paper); box-shadow: 0 8px 22px -8px rgba(0, 0, 0, 0.6);
}
.lp-hub-net img { width: 62%; height: auto; }
.lp-hub-out { position: absolute; left: 50%; bottom: 0; width: 1px; height: 1px; }
/* where the trace leaves the hero for the rail */
.lp-hero-foot { position: absolute; left: 0; right: 0; bottom: 0; }
.lp-hero-foot .lp-anchor { inset-inline-start: calc(24px + var(--lp-rail)); bottom: 0; }
.lp-pause {
    position: absolute; right: 24px; bottom: 22px; z-index: 5; display: grid; place-items: center; width: 38px; height: 38px; border: 1px solid rgba(245, 245, 243, 0.25);
    border-radius: 50%; background: transparent; color: var(--lp-on-ink); cursor: pointer;
}
.lp-pause:hover { background: rgba(245, 245, 243, 0.1); }
.lp-pause svg { width: 14px; height: 14px; }
.lp-pause .lp-play-icon { display: none; }
.lp-hero.is-paused .lp-pause .lp-play-icon { display: block; }
.lp-hero.is-paused .lp-pause .lp-pause-icon { display: none; }

/* ---------------------------------------------------------------- the trace through the page */
.lp-circuit { position: absolute; left: 0; top: 0; z-index: 3; width: 100%; height: 100%; overflow: visible; pointer-events: none; mix-blend-mode: difference; }
.lp-circuit path { fill: none; stroke: #fff; stroke-linecap: round; stroke-linejoin: round; }
.lp-circuit-route { stroke-width: 1.5; stroke-dasharray: 2 7; opacity: 0.3; }
.lp-circuit-draw { stroke-width: 3; }
.lp-circuit-head { fill: #fff; }

/* the rail: each section's content leaves room for it, and its node sits on it */
.lp-railed { position: relative; padding-inline-start: var(--lp-indent); }
.lp-node {
    position: absolute; z-index: 4; inset-inline-start: calc(var(--lp-rail) - 14px); top: -6px; display: grid; place-items: center; width: 28px; height: 28px;
    clip-path: var(--lp-hex); background: var(--lp-ink); transition: transform 0.5s var(--lp-ease);
}
.lp-node::after { content: ""; width: 10px; height: 10px; border-radius: 50%; background: var(--lp-paper); transition: background 0.4s, transform 0.4s var(--lp-ease); }
.lp-node.is-lit::after { background: var(--lp-green); transform: scale(1.2); }
.lp-node--on-ink { background: var(--lp-paper); }
.lp-node--on-ink::after { background: var(--lp-ink); }
.lp-anchor { position: absolute; width: 1px; height: 1px; pointer-events: none; }

/* ---------------------------------------------------------------- sections */
.lp-section { position: relative; padding: 140px 0 0; }
.lp-section-head { position: relative; max-width: 760px; }
.lp-section-head .lp-tag { color: var(--lp-muted); }
.lp-section h2 { margin: 16px 0 0; font-family: var(--lp-head); font-weight: 800; font-size: clamp(32px, 4vw, 54px); line-height: 1.06; letter-spacing: -0.03em; text-wrap: balance; }
.lp-section-sub { margin: 20px 0 0; max-width: 640px; font-size: 17px; line-height: 1.7; color: var(--lp-muted); }

/* the journey: four steps on one trace */
.lp-steps { position: relative; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); grid-template-rows: repeat(4, auto) 1fr; column-gap: 24px; margin: 72px 0 0; padding: 0; list-style: none; }
/* the steps' trace leaves the rail */
.lp-steps::before { content: ""; position: absolute; left: calc(var(--lp-rail) - var(--lp-indent)); right: 30px; top: 29px; height: 3px; background: var(--lp-ink); transform-origin: left center; }
/* each step shares the rows of the others, so the four pieces of screen start on the same line */
.lp-step { position: relative; display: grid; grid-row: span 5; grid-template-rows: subgrid; align-content: start; }
.lp-step-node {
    position: relative; z-index: 1; display: grid; place-items: center; width: 60px; height: 60px; clip-path: var(--lp-hex); background: var(--lp-ink);
    color: var(--lp-paper); font-family: var(--lp-tag); font-style: italic; font-weight: 800; font-size: 20px;
}
.lp-step-who { margin: 26px 0 0; font-family: var(--lp-tag); font-style: italic; font-weight: 600; font-size: 12.5px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--lp-muted); }
.lp-step h3 { margin: 8px 0 0; font-family: var(--lp-head); font-weight: 700; font-size: 22px; line-height: 1.2; letter-spacing: -0.015em; }
.lp-step p { margin: 10px 0 0; font-size: 15px; line-height: 1.65; color: var(--lp-muted); }
.lp-step .lp-ui { padding-top: 22px; }

/* small pieces of the real interface, drawn with HTML */
.lp-ui-card { position: relative; padding: 14px; border: 1px solid var(--lp-line); border-radius: var(--lp-radius-sm); background: var(--lp-paper); box-shadow: 0 18px 40px -24px rgba(10, 10, 11, 0.28); }
.lp-ui-pic { position: relative; aspect-ratio: 16 / 10; border-radius: 10px; background: linear-gradient(160deg, #d9b58a 0%, #b99293 48%, #7a74c3 100%); }
.lp-ui-pic--b { background: linear-gradient(160deg, #3d3d45 0%, #6d6a72 55%, #a4a0a8 100%); }
.lp-ui-row { display: flex; align-items: center; flex-wrap: wrap; gap: 6px; margin-top: 10px; }
.lp-ui-row--first { margin-top: 0; }
.lp-chip { display: inline-flex; align-items: center; gap: 6px; padding: 4px 10px; border-radius: 99px; background: var(--lp-soft); color: var(--lp-ink); font-size: 12px; font-weight: 600; line-height: 1.4; white-space: nowrap; }
.lp-chip--ink { background: var(--lp-ink); color: var(--lp-paper); }
.lp-chip--green { background: rgba(25, 164, 91, 0.12); color: #0d7a41; }
.lp-chip--orange { background: rgba(232, 137, 12, 0.14); color: #9a5a05; }
.lp-chip img { width: 14px; height: 14px; border-radius: 4px; }
.lp-ui-line { height: 7px; margin-top: 8px; border-radius: 4px; background: var(--lp-soft); }
.lp-ui-line--short { width: 62%; }
.lp-ui-btn { display: block; margin-top: 12px; padding: 9px 12px; border-radius: 10px; background: var(--lp-ink); color: var(--lp-paper); font-size: 12.5px; font-weight: 600; text-align: center; }
/*rtl:ignore*/
.lp-pin {
    position: absolute; left: 34%; top: 38%; display: grid; place-items: center; width: 26px; height: 26px; margin: -13px 0 0 -13px; border: 2px solid #fff;
    border-radius: 50%; background: var(--lp-red); color: #fff; font-size: 12px; font-weight: 700; box-shadow: 0 4px 12px rgba(10, 10, 11, 0.35);
}
.lp-bubble { position: absolute; left: 44%; top: 50%; max-width: 54%; padding: 7px 10px; border-radius: 10px; background: var(--lp-paper); color: var(--lp-ink); font-size: 11.5px; line-height: 1.35; box-shadow: 0 8px 22px -6px rgba(10, 10, 11, 0.35); }
.lp-slot { display: flex; align-items: center; gap: 12px; }
.lp-slot-day { display: grid; place-items: center; width: 54px; height: 60px; flex: 0 0 auto; border-radius: 12px; background: var(--lp-soft); text-align: center; line-height: 1.1; }
.lp-slot-day b { display: block; font-family: var(--lp-tag); font-style: italic; font-weight: 800; font-size: 22px; }
.lp-slot-day small { font-size: 10.5px; color: var(--lp-muted); }

/* ---------------------------------------------------------------- the bento: two columns around the trace */
.lp-bento { position: relative; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-flow: dense; gap: 22px; margin: 64px 0 0; }
.lp-tile { position: relative; overflow: hidden; display: flex; flex-direction: column; gap: 10px; padding: 30px; border-radius: var(--lp-radius); background: var(--lp-paper); border: 1px solid var(--lp-line); }
.lp-tile h3 { margin: 0; font-family: var(--lp-head); font-weight: 700; font-size: 22px; line-height: 1.2; letter-spacing: -0.015em; }
.lp-tile p { margin: 0; max-width: 460px; font-size: 15px; line-height: 1.65; color: var(--lp-muted); }
.lp-tile .lp-tile-art { margin-top: auto; padding-top: 18px; }
.lp-tile--notes { grid-column: 1; grid-row: span 2; background: var(--lp-ink); border-color: var(--lp-ink); color: var(--lp-on-ink); }
.lp-tile--notes p { color: var(--lp-on-ink-muted); }
.lp-tile--planning, .lp-tile--reports { grid-column: 1; }
.lp-tile--versions, .lp-tile--texts, .lp-tile--inbox, .lp-tile--publish { grid-column: 2; }

.lp-notes-art { position: relative; }
.lp-notes-art .lp-ui-pic { aspect-ratio: 16 / 11; border-radius: 18px; }
.lp-notes-art .lp-pin { left: 28%; top: 34%; }
/*rtl:ignore*/
.lp-notes-art .lp-pin--2 { left: 70%; top: 70%; background: #2f6bff; }
/*rtl:ignore*/
.lp-notes-art .lp-area { position: absolute; left: 52%; top: 16%; width: 30%; height: 32%; border: 2.5px dashed #ffd23f; border-radius: 10px; }
.lp-notes-art .lp-bubble { left: 33%; top: 44%; }
.lp-notes-tools { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 14px; }
.lp-notes-tools .lp-chip { background: rgba(245, 245, 243, 0.1); color: var(--lp-on-ink); }
.lp-notes-tools .lp-chip.is-on { background: var(--lp-paper); color: var(--lp-ink); }

.lp-versions-art { display: flex; align-items: center; gap: 12px; }
.lp-versions-art .lp-ui-card { flex: 1 1 0; padding: 10px; }
.lp-versions-art .lp-vs { flex: 0 0 auto; font-weight: 700; font-size: 20px; }
.lp-diff-del { background: rgba(229, 56, 59, 0.14); color: #a3171a; text-decoration: line-through; border-radius: 4px; padding: 0 3px; }
.lp-diff-add { background: rgba(25, 164, 91, 0.16); color: #0d7a41; border-radius: 4px; padding: 0 3px; }
.lp-versions-art small { display: block; margin-top: 8px; font-size: 12px; line-height: 1.45; }

.lp-rows { display: grid; gap: 8px; }
.lp-rows .lp-ui-card { display: flex; align-items: center; gap: 12px; padding: 10px 14px; box-shadow: none; }
.lp-rows img { width: 22px; height: 22px; border-radius: 6px; flex: 0 0 auto; }
.lp-rows .lp-ui-lines { flex: 1 1 auto; }
.lp-rows .lp-ui-line { margin: 4px 0; }
.lp-rows .lp-chip { flex: 0 0 auto; }
.lp-rows strong { flex: 1 1 auto; font-size: 14px; font-weight: 600; }

.lp-week { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 6px; }
.lp-day { display: flex; flex-direction: column; gap: 6px; min-height: 112px; padding: 9px 6px; border-radius: 12px; background: var(--lp-bone); }
.lp-day > small { font-family: var(--lp-tag); font-style: italic; font-weight: 600; font-size: 12px; color: var(--lp-muted); }
.lp-day .lp-time { padding: 5px 4px; border-radius: 8px; background: var(--lp-ink); color: var(--lp-paper); font-family: var(--lp-tag); font-weight: 600; font-size: 12px; text-align: center; }
.lp-day .lp-time--open { background: transparent; color: var(--lp-muted); border: 1.5px dashed #c9c9ce; }
.lp-day .lp-holiday { padding: 5px 4px; border-radius: 8px; background: rgba(232, 137, 12, 0.14); color: #9a5a05; font-size: 10.5px; font-weight: 600; line-height: 1.3; text-align: center; }

.lp-inbox-art { display: grid; gap: 8px; }
.lp-msg { max-width: 88%; padding: 9px 12px; border-radius: 14px; font-size: 13px; line-height: 1.45; }
.lp-msg--in { background: var(--lp-bone); border-end-start-radius: 4px; }
.lp-msg--out { margin-left: auto; background: var(--lp-ink); color: var(--lp-paper); border-end-end-radius: 4px; }

.lp-bars { display: flex; align-items: flex-end; gap: 8px; height: 130px; }
.lp-bars span { flex: 1 1 0; border-radius: 8px 8px 3px 3px; background: var(--lp-soft); transform-origin: bottom; }
.lp-bars span.is-top { background: var(--lp-ink); }
.lp-figures { display: flex; flex-wrap: wrap; gap: 24px; margin-top: 16px; }
.lp-figures b { display: block; font-family: var(--lp-tag); font-style: italic; font-weight: 800; font-size: 30px; line-height: 1; }
.lp-figures small { font-size: 13px; color: var(--lp-muted); }

/* ---------------------------------------------------------------- languages */
.lp-langband { position: relative; margin-top: 140px; padding: 72px 0 110px; background: var(--lp-ink); color: var(--lp-on-ink); overflow: hidden; }
.lp-langband .lp-section-head .lp-tag { color: var(--lp-on-ink-muted); }
.lp-langband .lp-node { background: var(--lp-paper); }
.lp-langband .lp-node::after { background: var(--lp-ink); }
.lp-langband .lp-node.is-lit::after { background: var(--lp-green); }
.lp-langband h2 { margin: 14px 0 0; font-family: var(--lp-head); font-weight: 800; font-size: clamp(30px, 3.6vw, 48px); letter-spacing: -0.03em; line-height: 1.08; }
.lp-langband .lp-section-sub { color: var(--lp-on-ink-muted); }
/* in front of the trace, which passes behind the letters */
.lp-langwords { position: relative; z-index: 5; display: grid; gap: 0; margin: 48px 0 0; padding: 0; list-style: none; font-family: var(--lp-head); font-weight: 800; font-size: clamp(48px, 9vw, 132px); line-height: 1.02; letter-spacing: -0.04em; white-space: nowrap; }
.lp-langwords li { transform: translateX(calc(var(--lp-p, 0) * var(--lp-shift, 0px))); will-change: transform; }
.lp-langwords li:nth-child(1) { --lp-shift: -140px; }
.lp-langwords li:nth-child(2) { --lp-shift: 120px; color: rgba(245, 245, 243, 0.42); text-align: center; }
.lp-langwords li:nth-child(3) { --lp-shift: -100px; color: rgba(245, 245, 243, 0.24); text-align: end; }

/* ---------------------------------------------------------------- questions */
.lp-faq-list { position: relative; max-width: 860px; margin: 48px 0 0; border-top: 1.5px solid var(--lp-ink); }
.lp-faq details { border-bottom: 1px solid var(--lp-line); }
.lp-faq summary { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 24px 0; cursor: pointer; list-style: none; font-family: var(--lp-head); font-weight: 700; font-size: 19px; line-height: 1.35; }
.lp-faq summary::-webkit-details-marker { display: none; }
.lp-faq summary::after { content: "+"; flex: 0 0 auto; font-family: var(--lp-text); font-weight: 400; font-size: 26px; line-height: 1; transition: transform 0.3s var(--lp-ease); }
.lp-faq details[open] summary::after { transform: rotate(45deg); }
.lp-faq-answer { padding: 0 0 26px; color: var(--lp-muted); line-height: 1.75; }
.lp-faq-answer ul { margin: 10px 0 0; padding-left: 20px; }

/* ---------------------------------------------------------------- contact: the end of the trace */
.lp-contact { position: relative; padding-top: 140px; }
.lp-contact-card {
    position: relative; overflow: hidden; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 64px; padding: 64px;
    border-radius: var(--lp-radius); background: var(--lp-ink); color: var(--lp-on-ink); isolation: isolate;
}
/* the end of the trace: a dot, like the logo's traces, plugged into the card */
.lp-contact .lp-node { top: 70px; width: 30px; height: 30px; inset-inline-start: calc(var(--lp-rail) - 15px); clip-path: none; border-radius: 50%; }
.lp-contact .lp-node::after { width: 12px; height: 12px; }
.lp-contact .lp-railed::before { content: ""; position: absolute; top: 84px; left: var(--lp-rail); width: calc(var(--lp-indent) - var(--lp-rail)); height: 3px; background: var(--lp-ink); }
.lp-contact-card h2 { margin: 14px 0 0; font-family: var(--lp-head); font-weight: 800; font-size: clamp(32px, 3.8vw, 50px); line-height: 1.06; letter-spacing: -0.03em; }
.lp-contact-card .lp-tag { color: var(--lp-on-ink-muted); }
.lp-contact-card > div > p { max-width: 420px; margin: 18px 0 0; font-size: 17px; line-height: 1.7; color: var(--lp-on-ink-muted); }
.lp-form { display: grid; gap: 14px; }
.lp-field label { display: block; margin-bottom: 7px; font-size: 13.5px; font-weight: 500; color: var(--lp-on-ink-muted); }
.lp-field input, .lp-field textarea {
    width: 100%; padding: 13px 16px; border: 1.5px solid rgba(245, 245, 243, 0.16); border-radius: 14px; background: rgba(245, 245, 243, 0.06);
    color: var(--lp-on-ink); font: 400 15px/1.5 var(--lp-text); transition: border-color 0.2s, background 0.2s;
}
.lp-field input:focus, .lp-field textarea:focus { outline: none; border-color: var(--lp-on-ink); background: rgba(245, 245, 243, 0.1); }
.lp-field textarea { min-height: 120px; resize: vertical; }
.lp-field-error { margin: 7px 0 0; font-size: 13.5px; color: #ff9a9c; }
.lp-form-done { margin: 0 0 6px; padding: 14px 16px; border-radius: 14px; background: rgba(25, 164, 91, 0.16); color: #9df0c0; }
.lp-form .lp-btn { justify-self: start; margin-top: 6px; }

/* ---------------------------------------------------------------- footer */
.lp-footer { padding: 56px 0 40px; }
.lp-footer-in { display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; font-size: 14px; color: var(--lp-muted); }
.lp-footer-in img { height: 40px; width: auto; }
.lp-footer nav { display: flex; gap: 22px; }
.lp-footer nav a { color: var(--lp-ink); text-decoration: none; font-weight: 500; }
.lp-footer nav a:hover { text-decoration: underline; }

/* ---------------------------------------------------------------- Arabic type
   Arabic letters join: no letter spacing (it breaks the joins), no slanted style, and taller lines for its tall
   letters. The Latin figures (01, 18:00) keep the logo's slant. */
[lang="ar"] .lp-tag, [lang="ar"] .lp-step-who, [lang="ar"] .lp-day > small, [lang="ar"] .lp-hub-chip { font-style: normal; letter-spacing: 0; font-family: var(--lp-text); }
[lang="ar"] .lp-tag, [lang="ar"] .lp-step-who { font-size: 14px; font-weight: 600; }
[lang="ar"] .lp-hero h1, [lang="ar"] .lp-section h2, [lang="ar"] .lp-langband h2, [lang="ar"] .lp-contact-card h2 { letter-spacing: 0; line-height: 1.3; }
[lang="ar"] .lp-hero h1 { font-size: clamp(36px, 4.4vw, 62px); }
[lang="ar"] .lp-step h3, [lang="ar"] .lp-tile h3, [lang="ar"] .lp-faq summary, [lang="ar"] .lp-langwords { letter-spacing: 0; }

/* ---------------------------------------------------------------- motion (skipped for people who ask for less motion)
   The hero draws itself once, then small signals keep running from the box along the traces (the pause button stops
   them). Sections and their pieces appear when they scroll in (landing.js adds .is-in); the page trace and the
   languages follow the scroll (landing.js). Without the script, everything is simply shown. */
@media (prefers-reduced-motion: no-preference) {
    .lp-hub-face { stroke-dasharray: 520; stroke-dashoffset: 520; animation: lp-draw 1.1s var(--lp-ease) 0.15s forwards; }
    .lp-hub-trace { stroke-dasharray: 320; stroke-dashoffset: 320; animation: lp-draw 0.9s var(--lp-ease) forwards; animation-delay: calc(0.8s + var(--i, 0) * 0.14s); }
    .lp-hub-dot { transform-box: fill-box; transform-origin: center; transform: scale(0); animation: lp-pop 0.5s var(--lp-ease) forwards; animation-delay: calc(1.35s + var(--i, 0) * 0.14s); }
    .lp-hub-chip, .lp-hub-net { opacity: 0; animation: lp-fade 0.6s ease forwards; animation-delay: calc(1.5s + var(--i, 0) * 0.14s); }
    .lp-hub-pulse { stroke-dasharray: 16 600; stroke-dashoffset: 16; animation: lp-pulse 3.2s linear infinite; animation-delay: calc(2.8s + var(--i, 0) * 0.45s); }
    .lp-hero.is-paused .lp-hub-pulse { animation-play-state: paused; }
    .lp-hero-copy > * { animation: lp-rise 0.9s var(--lp-ease) both; }
    .lp-hero-copy > :nth-child(2) { animation-delay: 0.08s; }
    .lp-hero-copy > :nth-child(3) { animation-delay: 0.16s; }
    .lp-hero-copy > :nth-child(4) { animation-delay: 0.24s; }
    .lp-scroll-hint { animation: lp-bob 2.4s ease-in-out 3s 3; }

    .lp-js .lp-reveal { opacity: 0; transform: translateY(36px); transition: opacity 0.9s var(--lp-ease), transform 0.9s var(--lp-ease); transition-delay: calc(var(--d, 0) * 110ms); }
    .lp-js .lp-reveal.is-in { opacity: 1; transform: none; }
    .lp-js .lp-node { transform: scale(0.4); }
    .lp-js .lp-node.is-lit, .lp-js .lp-node.is-in { transform: none; }
    .lp-js .lp-steps::before { transform: scaleX(0); transition: transform 1.4s var(--lp-ease) 0.2s; }
    .lp-js .lp-steps.is-in::before { transform: scaleX(1); }
    .lp-js .lp-step-node { transform: scale(0.3) rotate(-30deg); opacity: 0; transition: transform 0.7s var(--lp-ease), opacity 0.5s; transition-delay: calc(0.3s + var(--d, 0) * 160ms); }
    .lp-js .lp-steps.is-in .lp-step-node { transform: none; opacity: 1; }

    /* the pieces inside the tiles */
    .lp-js .lp-tile .lp-pin, .lp-js .lp-tile .lp-bubble, .lp-js .lp-tile .lp-area { opacity: 0; transform: scale(0.4); transition: opacity 0.4s, transform 0.6s var(--lp-ease); }
    .lp-js .lp-tile.is-in .lp-pin, .lp-js .lp-tile.is-in .lp-bubble, .lp-js .lp-tile.is-in .lp-area { opacity: 1; transform: none; }
    .lp-js .lp-tile.is-in .lp-pin { transition-delay: 0.5s; }
    .lp-js .lp-tile.is-in .lp-area { transition-delay: 0.8s; }
    .lp-js .lp-tile.is-in .lp-pin--2 { transition-delay: 1.05s; }
    .lp-js .lp-tile.is-in .lp-bubble { transition-delay: 1.3s; }
    .lp-js .lp-bars span { transform: scaleY(0.05); transition: transform 0.9s var(--lp-ease); transition-delay: calc(0.3s + var(--b, 0) * 60ms); }
    .lp-js .lp-tile.is-in .lp-bars span { transform: none; }
    .lp-js .lp-day > :not(small) { opacity: 0; transform: translateY(14px); transition: opacity 0.4s, transform 0.5s var(--lp-ease); transition-delay: calc(0.35s + var(--b, 0) * 120ms); }
    .lp-js .lp-tile.is-in .lp-day > :not(small) { opacity: 1; transform: none; }
    .lp-js .lp-rows .lp-ui-card, .lp-js .lp-msg { opacity: 0; transform: translateY(12px); transition: opacity 0.45s, transform 0.55s var(--lp-ease); transition-delay: calc(0.35s + var(--b, 0) * 220ms); }
    .lp-js .lp-tile.is-in .lp-rows .lp-ui-card, .lp-js .lp-tile.is-in .lp-msg { opacity: 1; transform: none; }
    .lp-js .lp-versions-art .lp-vs { opacity: 0; transform: translateX(-10px); transition: opacity 0.4s 0.6s, transform 0.6s var(--lp-ease) 0.6s; }
    .lp-js .lp-tile.is-in .lp-versions-art .lp-vs { opacity: 1; transform: none; }
}
@keyframes lp-draw { to { stroke-dashoffset: 0; } }
@keyframes lp-pop { to { transform: scale(1); } }
@keyframes lp-fade { to { opacity: 1; } }
@keyframes lp-rise { from { opacity: 0; transform: translateY(22px); } to { opacity: 1; transform: none; } }
@keyframes lp-pulse { 0% { stroke-dashoffset: 16; opacity: 0; } 8% { opacity: 1; } 70% { opacity: 1; } 100% { stroke-dashoffset: -330; opacity: 0; } }
@keyframes lp-bob { 0%, 100% { transform: translate(-50%, 0); } 50% { transform: translate(-50%, 6px); } }
/* printed, everything is shown as it ends */
@media print {
    .lp-circuit, .lp-pause, .lp-scroll-hint, .lp-header { display: none !important; }
    .lp-hero { min-height: 0; }
    .lp-js .lp-reveal, .lp-js .lp-reveal *, .lp-hub *, .lp-hero-copy > * { opacity: 1 !important; transform: none !important; animation: none !important; transition: none !important; stroke-dashoffset: 0 !important; }
}

/* ---------------------------------------------------------------- tablets and phones */
@media (max-width: 1060px) {
    .lp-hero-in { grid-template-columns: 1fr; gap: 48px; }
    .lp-hub { margin: 0 auto; }
    .lp-steps { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-template-rows: none; row-gap: 48px; }
    .lp-step { grid-row: auto; grid-template-rows: none; }
    .lp-steps::before { display: none; }
    .lp-contact-card { grid-template-columns: 1fr; gap: 36px; }
}
@media (max-width: 860px) {
    .lp-menu { display: block; margin-left: auto; }
    .lp-nav {
        position: absolute; left: 16px; right: 16px; top: var(--lp-header); display: none; flex-direction: column; align-items: stretch; gap: 0; margin: 0; padding: 10px;
        border-radius: 20px; background: var(--lp-paper); box-shadow: 0 24px 60px -20px rgba(10, 10, 11, 0.35);
    }
    .lp-nav.is-open { display: flex; }
    .lp-nav a, .lp-header.is-on-dark .lp-nav a { padding: 14px 16px; border-radius: 12px; opacity: 1; color: var(--lp-ink); }
    .lp-nav a:hover { background: var(--lp-bone); }
    .lp-nav .lp-nav-account, .lp-header.is-on-dark .lp-nav .lp-nav-account { display: block; margin-top: 6px; background: var(--lp-ink); color: var(--lp-paper); text-align: center; font-weight: 600; }
    .lp-header-in { gap: 12px; }
    .lp-actions .lp-btn { display: none; }
    .lp-section, .lp-contact { padding-top: 110px; }
    .lp-bento { grid-template-columns: 1fr; }
    .lp-tile--notes, .lp-tile--planning, .lp-tile--reports, .lp-tile--versions, .lp-tile--texts, .lp-tile--inbox, .lp-tile--publish { grid-column: 1; grid-row: auto; }
}
@media (max-width: 640px) {
    :root { --lp-indent: 40px; --lp-rail: 10px; }
    .lp-wrap { padding: 0 16px; }
    .lp-hero-foot .lp-anchor { inset-inline-start: calc(16px + var(--lp-rail)); }
    .lp-node { width: 22px; height: 22px; inset-inline-start: calc(var(--lp-rail) - 11px); }
    .lp-node::after { width: 8px; height: 8px; }
    .lp-contact .lp-node { width: 22px; height: 22px; inset-inline-start: calc(var(--lp-rail) - 11px); top: 50px; }
    .lp-contact .lp-railed::before { top: 60px; }
    .lp-contact-card { padding: 32px 22px; }
    .lp-hero { padding-bottom: 80px; }
    .lp-hero-sub { font-size: 16px; }
    .lp-hub-chip { padding: 4px 8px; font-size: 10.5px; gap: 4px; }
    .lp-hub-chip b { font-size: 9px; }
    .lp-steps { grid-template-columns: 1fr; }
    .lp-tile { padding: 24px; }
    .lp-week { grid-template-columns: repeat(4, minmax(0, 1fr)); }
    .lp-week .lp-day:nth-child(n + 5) { display: none; }
    .lp-langband { margin-top: 110px; padding: 56px 0 72px; }
    .lp-contact-card { border-radius: 24px; }
    .lp-logo img { height: 42px; }
    .lp-pause { right: 16px; }
}
