/* Home page (landing). Editorial style after Workleap Officevibe (see DESIGN.md tokens):
   warm cream canvas, serif display headlines with one italic phrase, ink navy for weight,
   electric cobalt only for actions, 16px cards, 24px photos, pill buttons, cream hairlines. */
body.landing { font-size: 16px; line-height: 1.6; background: var(--paper); color: #171417; }
.landing a:not(.btn) { color: inherit; }
.landing img { display: block; max-width: 100%; height: auto; }

.l-wrap { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.l-center { text-align: center; }
.l-section { padding: 112px 0; scroll-margin-top: 64px; }
.l-tinted { background: var(--white); border-block: 1px solid var(--cream); }

/* Display type: serif, one italic phrase per headline. */
.l-display, .l-h2, .l-dark h2 { font-family: var(--serif); font-weight: 400; color: #171417; }
.l-display, .l-h2, .l-dark h2, .l-row-text h3 { text-wrap: balance; }
.l-display em, .l-h2 em, .l-dark h2 em, .l-wordmark em { font-style: italic; }
.l-h2 { font-size: 56px; line-height: 1.04; letter-spacing: -.01em; margin: 0 auto 18px; max-width: 820px; }
.l-sub { font-size: 18px; line-height: 1.6; color: var(--graphite); margin: 0 auto 48px; max-width: 640px; }
.l-sub a { color: var(--notion-blue) !important; font-weight: 600; text-decoration: none; }
.l-eyebrow { display: inline-block; font-size: 12px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: #171417; margin: 0 0 18px; }

/* Buttons: pills, cobalt for the action, no shadow. */
.landing .btn { text-decoration: none; border-radius: 100px; font-weight: 500; white-space: nowrap; box-shadow: none; }
.l-btn-lg { height: 50px; padding: 0 26px; font-size: 16px; }
.l-btn-ghost { background: transparent; color: #222; border: 1px solid #222; }
.l-btn-ghost:hover { background: #171417; color: var(--white); }

/* Navigation */
.l-nav { position: sticky; top: 0; z-index: 20; background: rgba(249, 248, 246, .92); backdrop-filter: saturate(1.4) blur(10px); border-bottom: 1px solid transparent; transition: border-color var(--ease), background var(--ease); }
.l-nav.scrolled { background: rgba(255, 255, 255, .95); border-color: var(--cream); }
.l-nav-in { max-width: 1200px; margin: 0 auto; height: 70px; padding: 0 24px; display: flex; align-items: center; gap: 16px; }
.l-links { display: flex; gap: 2px; margin: 0 auto; font-size: 14px; font-weight: 500; }
.l-links a { color: #222 !important; text-decoration: none; padding: 8px 14px; border-radius: 100px; }
.l-links a:hover { background: var(--lavender); }
.l-nav .btn { height: 40px; padding: 0 18px; font-size: 14px; }
.l-nav .lang { margin-inline-end: -8px; }
.l-nav .lang-menu { top: 44px; }

/* Hero: two columns, text left, photo with the real tool on top right. */
.l-hero { padding: 64px 0 40px; }
.l-hero-in { display: grid; grid-template-columns: 1fr 1.08fr; gap: 64px; align-items: center; }
.l-display { font-size: 72px; line-height: 1; letter-spacing: -.015em; margin: 0 0 24px; }
.l-hero .lead { font-size: 19px; line-height: 1.6; color: var(--graphite); margin: 0 0 32px; max-width: 520px; }
.l-cta { display: flex; gap: 12px; flex-wrap: wrap; }
.l-checks { display: flex; flex-wrap: wrap; gap: 8px 22px; margin: 28px 0 0; padding: 0; list-style: none; font-size: 14px; color: var(--graphite); }
.l-checks li { display: flex; align-items: center; gap: 6px; }
.l-checks svg, .l-hero-chip svg, .l-row-text li svg, .l-plan li svg { width: 16px; height: 16px; fill: none; stroke: var(--notion-blue); stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; flex: none; }

.l-hero-art { position: relative; padding: 0 0 56px; }
.l-tilt { position: absolute; inset: 24px -20px 40px 28px; background: var(--midnight); border-radius: 24px; transform: rotate(3.5deg); }
.l-hero-photo { position: relative; width: 100%; aspect-ratio: 4 / 3.3; object-fit: cover; border-radius: 24px; }
.l-hero-shot { position: absolute; inset-inline-start: -40px; bottom: 0; width: 72%; margin: 0; background: var(--white); border-radius: 16px; padding: 6px; box-shadow: 0 8px 32px rgba(12, 23, 84, .18); }
.l-hero-shot img { border-radius: 11px; }
.l-hero-chip { position: absolute; inset-inline-end: 20px; top: 24px; margin: 0; display: flex; align-items: center; gap: 8px; background: var(--white); border-radius: 100px; padding: 10px 16px; font-size: 14px; font-weight: 500; box-shadow: 0 8px 32px rgba(12, 23, 84, .12); }

/* Explainer video under the hero */
.l-demo { padding: 16px 0 64px; }
.l-demo-video { margin: 0; background: var(--midnight); border-radius: 24px; overflow: hidden; box-shadow: 0 24px 60px rgba(12, 23, 84, .22); }
.l-demo-video video { display: block; width: 100%; height: auto; }
.l-demo-video .v-wide { aspect-ratio: 16 / 9; }
.l-demo-video .v-tall { display: none; aspect-ratio: 3 / 5; }

/* Material strip */
.l-strip { padding: 48px 0 0; text-align: center; }
.l-strip p { font-size: 13px; color: var(--stone); margin: 0 0 16px; }
.l-strip ul { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px 44px; margin: 0; padding: 0; list-style: none; }
.l-strip li { font-family: var(--serif); font-size: 26px; color: rgba(23, 20, 23, .5); }

/* Three steps: dark, light, bordered accent (DESIGN.md step cards). */
.l-steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; text-align: start; }
.l-step { background: var(--white); border: 1px solid var(--cream); border-radius: 16px; overflow: hidden; display: flex; flex-direction: column; }
.l-step img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.l-step img.shot { object-position: left top; }
.l-step-body { padding: 28px 32px 32px; }
.l-step h3 { font-size: 22px; line-height: 1.3; letter-spacing: -.02em; font-weight: 500; margin: 16px 0 8px; }
.l-step p { font-size: 15px; color: var(--graphite); margin: 0; }
.l-num { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--notion-blue); color: var(--white); font-weight: 600; font-size: 15px; }
.l-step.dark { background: var(--midnight); border-color: var(--midnight); color: var(--white); }
.l-step.dark p { color: var(--lavender); opacity: .85; }
.l-step.accent { border: 1.5px solid var(--notion-blue); }

/* Calculator cards: see .calc-card in style.css (shared with the calculator pages). */
.calc-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }

/* Feature rows: text and a product screenshot on a cobalt panel with a tilted navy card. */
.l-rows { display: grid; gap: 120px; margin-top: 24px; }
.l-row { display: grid; grid-template-columns: 1fr 1.1fr; gap: 72px; align-items: center; }
.l-row:nth-child(even) .l-row-text { order: 2; }
.l-row-text { text-align: start; }
.l-row-text h3 { font-family: var(--serif); font-weight: 400; font-size: 44px; line-height: 1.05; letter-spacing: -.005em; margin: 0 0 16px; }
.l-row-text > p:not(.l-eyebrow) { font-size: 17px; color: var(--graphite); margin: 0 0 22px; }
.l-row-text ul { margin: 0 0 26px; padding: 0; list-style: none; display: grid; gap: 10px; font-size: 15px; }
.l-row-text li { display: flex; gap: 10px; }
.l-row-text li svg { margin-top: 4px; }
.landing .l-row-text a { font-weight: 600; color: var(--notion-blue); text-decoration: none; font-size: 15px; }
.landing .l-row-text a:hover { text-decoration: underline; }
.l-row-photo { margin: 0 0 24px; max-width: 360px; }
.l-row-photo img { border-radius: 16px; aspect-ratio: 16 / 9; object-fit: cover; width: 100%; }
.l-row-art { position: relative; display: grid; place-items: center; padding: 48px; border-radius: 24px; background: linear-gradient(150deg, #4a63ff 0%, #2545ff 55%, #1a2fd0 100%); min-height: 480px; overflow: hidden; }
.l-row-art .l-tilt { inset: 70px 40px 30px 90px; transform: rotate(-4deg); background: var(--midnight); opacity: .9; }
.l-row-art img { position: relative; max-height: 440px; width: auto; border-radius: 12px; box-shadow: 0 8px 32px rgba(12, 23, 84, .3); }

/* Why it pays off: big photo and benefit cards. */
.l-why { display: grid; grid-template-columns: .95fr 1.05fr; gap: 64px; align-items: center; }
.l-why-img { margin: 0; position: relative; }
.l-why-img img { width: 100%; aspect-ratio: 4 / 4.6; object-fit: cover; border-radius: 24px; }
.l-why-img figcaption { position: absolute; inset-inline: 20px; bottom: 20px; background: var(--white); border-radius: 16px; padding: 14px 18px; font-size: 14px; font-weight: 500; box-shadow: 0 8px 32px rgba(12, 23, 84, .12); }
.l-why-text .l-h2, .l-why-text .l-sub { margin-inline: 0; }
.l-why-text .l-sub { margin-bottom: 32px; }
.l-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; text-align: start; }
.l-card { background: var(--white); border: 1px solid var(--cream); border-radius: 16px; padding: 24px; }
.l-card .k { font-size: 12px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--notion-blue); margin: 0 0 18px; }
.l-card h3 { font-size: 19px; line-height: 1.3; letter-spacing: -.015em; font-weight: 600; margin: 0 0 8px; }
.l-card p { font-size: 14.5px; color: var(--graphite); margin: 0; }

/* Audience with photos */
.l-who { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; text-align: start; }
.l-who-card { background: var(--paper); border: 1px solid var(--cream); border-radius: 16px; overflow: hidden; }
.l-who-card img { width: 100%; aspect-ratio: 4 / 3.4; object-fit: cover; }
.l-who-card div { padding: 20px 22px 24px; }
.l-who b { display: block; font-size: 18px; font-weight: 600; letter-spacing: -.015em; margin-bottom: 6px; }
.l-who span { font-size: 14.5px; color: var(--graphite); }

/* Plans */
.l-plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; text-align: start; }
.l-plan { background: var(--white); border: 1px solid var(--cream); border-radius: 16px; padding: 32px; }
.l-plan h3 { font-size: 22px; font-weight: 600; letter-spacing: -.02em; margin: 0 0 4px; }
.l-plan .tag { font-size: 14px; color: var(--stone); margin: 0 0 22px; }
.l-plan ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 12px; font-size: 15px; color: var(--graphite); }
.l-plan li { display: flex; gap: 10px; }
.l-plan li svg { margin-top: 4px; }
.l-plan.pro { background: var(--midnight); border-color: var(--midnight); color: var(--white); }
.l-plan.pro .tag, .l-plan.pro ul { color: rgba(234, 235, 248, .8); }
.l-plan.pro li svg { stroke: #8d9dff; }

/* FAQ: sticky headline left, accordion right. */
.l-faq-wrap { display: grid; grid-template-columns: .9fr 1.1fr; gap: 72px; align-items: start; }
.l-faq-head { position: sticky; top: 110px; }
.l-faq-head .l-h2, .l-faq-head .l-sub { margin-inline: 0; }
.l-faq { text-align: start; }
.l-faq .seo-faq { background: transparent; border: 0; border-bottom: 1px solid var(--cream); border-radius: 0; margin: 0; padding: 0; }
.l-faq .seo-faq:first-child { border-top: 1px solid var(--cream); }
.l-faq summary { cursor: pointer; list-style: none; position: relative; padding: 24px 40px 24px 0; font-size: 17px; font-weight: 500; }
html[dir="rtl"] .l-faq summary { padding: 24px 0 24px 40px; }
.l-faq summary::-webkit-details-marker { display: none; }
.l-faq summary::after { content: ""; position: absolute; inset-inline-end: 8px; top: 50%; width: 9px; height: 9px; border: solid #222; border-width: 0 1.6px 1.6px 0; transform: translateY(-70%) rotate(45deg); transition: transform var(--ease); }
.l-faq details[open] summary::after { transform: translateY(-30%) rotate(-135deg); }
.l-faq details p { margin: 0 0 24px; color: var(--graphite); font-size: 16px; line-height: 1.6; padding: 0; }

/* Dark call to action band */
.l-dark { display: grid; grid-template-columns: 1.2fr .8fr; gap: 48px; align-items: center; background: var(--midnight); color: var(--white); border-radius: 24px; padding: 72px 72px; overflow: hidden; }
.l-dark .l-eyebrow { color: rgba(234, 235, 248, .85); }
.l-dark h2 { color: var(--white); font-size: 60px; line-height: 1.02; margin: 0 0 20px; }
.l-dark p:not(.l-eyebrow) { font-size: 18px; color: rgba(234, 235, 248, .8); margin: 0 0 32px; max-width: 520px; }
.l-dark img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 16px; transform: rotate(3deg); }

/* Footer: ink navy */
.l-foot { background: var(--midnight); color: var(--white); padding: 88px 0 0; overflow: hidden; }
.l-foot .brand-icon { fill: var(--white); }
.l-foot-cols { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 32px; }
.l-foot h3 { font-size: 12px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: rgba(234, 235, 248, .78); margin: 0 0 16px; }
.l-foot ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 12px; font-size: 15px; }
.l-foot ul a { text-decoration: none; color: rgba(255, 255, 255, .9) !important; }
.l-foot ul a:hover { color: var(--white) !important; text-decoration: underline; }
.l-foot-intro p { font-size: 15px; color: rgba(234, 235, 248, .75); margin: 14px 0 20px; max-width: 300px; }
.l-wordmark { font-family: var(--serif); font-size: clamp(64px, 15vw, 220px); line-height: .9; letter-spacing: -.02em; color: var(--white); margin: 80px 0 0; white-space: nowrap; transform: translateY(.14em); }
.l-wordmark em { color: #8d9dff; }
.landing .site-foot { background: var(--paper); border-top: 0; }

@media (max-width: 1080px) {
  .l-display { font-size: 58px; }
  .l-h2 { font-size: 46px; }
  .l-hero-in { grid-template-columns: 1fr; gap: 48px; }
  .l-hero-text { max-width: 680px; }
  .l-hero-shot { inset-inline-start: -12px; }
  .calc-grid, .l-who { grid-template-columns: repeat(2, 1fr); }
  .l-row, .l-why, .l-faq-wrap { grid-template-columns: 1fr; gap: 40px; }
  .l-row:nth-child(even) .l-row-text { order: 0; }
  .l-rows { gap: 88px; }
  .l-faq-head { position: static; }
  .l-dark { grid-template-columns: 1fr; padding: 56px 40px; }
  .l-dark img { max-width: 360px; aspect-ratio: 4 / 3; }
  .l-dark h2 { font-size: 48px; }
  .l-steps { grid-template-columns: 1fr; max-width: 560px; margin: 0 auto; }
  .l-plans { grid-template-columns: 1fr; max-width: 560px; margin: 0 auto; }
  .l-foot-cols { grid-template-columns: 1fr 1fr; }
  .l-links { display: none; }
  .l-nav .lang { margin-inline-start: auto; }
}
@media (max-width: 640px) {
  .l-wrap, .l-nav-in { padding: 0 16px; }
  .l-section { padding: 72px 0; }
  .l-hero { padding-top: 36px; }
  .l-display { font-size: 46px; }
  .l-hero .lead { font-size: 17px; }
  .l-h2, .l-dark h2 { font-size: 38px; }
  .l-row-text h3 { font-size: 34px; }
  .l-sub { font-size: 16px; margin-bottom: 36px; }
  .l-cta .btn { flex: 1 1 100%; justify-content: center; }
  .l-hero-art { padding-bottom: 40px; }
  .l-tilt { inset: 14px -6px 30px 14px; }
  .l-hero-shot { width: 84%; inset-inline-start: -4px; }
  .l-hero-chip { top: 12px; inset-inline-end: 10px; font-size: 13px; padding: 8px 12px; }
  .l-demo { padding: 8px 0 40px; }
  .l-demo-video { border-radius: 18px; max-width: 440px; margin-inline: auto; }
  .l-demo-video .v-wide { display: none; }
  .l-demo-video .v-tall { display: block; }
  .calc-grid, .l-who, .l-cards { grid-template-columns: 1fr; }
  .l-strip li { font-size: 21px; }
  .l-row-art { padding: 28px; min-height: 0; }
  .l-row-art .l-tilt { inset: 40px 20px 16px 40px; }
  .l-row-art img { max-height: 360px; }
  .l-dark { padding: 44px 22px; border-radius: 16px; }
  .l-foot-cols { grid-template-columns: 1fr; }
  .l-nav .brand-name { display: inline; }
  .l-nav-in { gap: 8px; height: 62px; }
  .l-nav .btn { height: 36px; padding: 0 14px; font-size: 13.5px; }
  .l-nav .lang-btn { padding: 0 6px; }
  .l-hide-sm { display: none; }
  .l-step-body { padding: 24px; }
}
/* Narrow phones: the logo stands alone so the language menu and the button still fit. */
@media (max-width: 400px) { .l-nav .brand-name { display: none; } .l-nav .lang { margin-inline-start: auto; } }
/* Arabic: Naskh display face, no italics, more room between lines. */
html[lang="ar"] { --serif: "Noto Naskh Arabic", "Instrument Serif", serif; }
html[lang="ar"] .l-display, html[lang="ar"] .l-h2, html[lang="ar"] .l-dark h2, html[lang="ar"] .l-row-text h3 { line-height: 1.3; letter-spacing: 0; font-weight: 600; }
html[lang="ar"] .l-display em, html[lang="ar"] .l-h2 em, html[lang="ar"] .l-dark h2 em, html[lang="ar"] .l-wordmark em { font-style: normal; color: var(--notion-blue); }
html[lang="ar"] .l-dark h2 em, html[lang="ar"] .l-wordmark em { color: #8d9dff; }
html[lang="ar"] .l-wordmark { line-height: 1.25; letter-spacing: 0; transform: translateY(.05em); }
html[dir="rtl"] .l-tilt { transform: rotate(-3.5deg); }
html[dir="rtl"] .l-row-art .l-tilt { transform: rotate(4deg); }
