/* Ishara home (English and Arabic): the sections the conversion pass added
 * around the editorial k-* layout. Loaded after knowledge.css and convert.css. */

/* Hero: shorter, so the coverage band shows at 1280x900; no bottom strip. */
.h-hero .k-hero-inner { min-height: 600px; }
.h-hero .k-hero-copy { padding: 54px 0 60px; }
.h-hero .k-lead { font-size: 16px; line-height: 1.7; max-width: 490px; color: #4f5668; }
.h-hero .k-announcement { font-size: 11px; text-decoration: none; }
.h-hero .k-announcement > span:last-child { margin-left: 0; margin-inline-start: 6px; }
.h-hero .cta-note { font-size: 12px; max-width: 60ch; text-wrap: balance; }
.h-hero .orbit-label-three { bottom: 22%; }

/* Coverage: four approved figures and the six markets. */
.h-scale.k-scale { padding: 36px 0 24px; }
.h-scale.k-scale > .container { grid-template-columns: 1.45fr repeat(4, 1fr); column-gap: 34px; }
.h-scale .k-scale-intro > p:last-child { font-size: 15px; line-height: 1.45; letter-spacing: -0.01em; }
.h-scale .k-stat { justify-content: flex-start; padding-left: 0; padding-inline-start: 26px; border-left: 0; border-inline-start: 1px solid #e6e9ec; }
.h-scale .k-stat strong { font-size: 40px; }
.h-scale .k-coverage { grid-column: 2 / -1; margin: 18px 0 0; margin-inline-start: 26px; font-size: 12px; }
.h-scale .flag-strip { display: flex; gap: 6px; margin-top: 12px; }
.h-scale .flag { border-radius: 50%; box-shadow: 0 0 0 1px #dce0e5; }

/* Shared small text link with a direction-aware arrow. */
.h-inline-link { color: #14277c; font-weight: 550; text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; white-space: nowrap; }
.h-inline-link::after { content: " →"; }
[dir="rtl"] .h-inline-link::after { content: " ←"; }

/* See it work: segmented tabs over labelled example scenes. */
.h-see { padding-bottom: 80px; }
.h-tabs { display: inline-flex; gap: 4px; padding: 4px; margin: 0 0 18px; border: 1px solid var(--line); border-radius: 999px; background: #fff; }
.h-tabs[hidden] { display: none; }
.h-tab { border: 0; background: none; padding: 10px 20px; border-radius: 999px; font: inherit; font-size: 13px; font-weight: 550; color: var(--ink-2); cursor: pointer; transition: background 0.2s, color 0.2s; }
.h-tab:hover { background: #f1f4f8; }
.h-tab[aria-selected="true"] { background: #14277c; color: #fff; }
.h-panel { border: 1px solid #e3e6eb; border-radius: 16px; background: linear-gradient(180deg, #f6f7f9, #fafbfc 60%); padding: 22px 26px 30px; }
.h-panel + .h-panel { margin-top: 20px; }
.h-panel[hidden] { display: none; }
.h-panel-bar { display: flex; justify-content: space-between; align-items: center; gap: 28px; }
.h-value { margin: 0; font-size: 15px; line-height: 1.6; color: var(--ink-2); max-width: 640px; }
.h-value b { color: var(--ink); font-weight: 600; }
.h-panel-links { display: flex; align-items: center; gap: 22px; flex: none; }
.h-more { font-size: 13px; color: var(--ink-2); text-decoration: underline; text-underline-offset: 3px; text-decoration-color: #b9c2cf; }
.h-join { font-size: 13px; font-weight: 600; color: #14277c; text-decoration: none; display: inline-flex; gap: 6px; }
.h-join:hover { text-decoration: underline; text-underline-offset: 3px; }
.h-scene { max-width: 1000px; margin: 22px auto 0; }

/* Start where you are: five readers, one line and one link each. */
.h-router.k-workflows { padding-top: 40px; }
.h-router .h-routes { grid-template-columns: repeat(5, 1fr); gap: 1px; background: #e3e6eb; }
.h-router .h-routes .k-workflow { border: 0; background: #fafbfc; }
.h-router .h-routes .k-workflow:hover { background: #f3f5f8; }
.h-router .h-routes .k-workflow > div { margin-bottom: 30px; }
.h-router .h-routes .k-workflow h3 { font-size: 21px; margin: 0 0 10px; }
.h-router .h-routes .k-workflow p { font-size: 12px; line-height: 1.75; }
.h-router .h-routes .k-workflow b { font-size: 11px; }

/* Trust strip. */
.h-trust.k-section { padding: 80px 0; background: #f6f7f9; border-block: 1px solid #e7eaee; }
.h-trust .k-section-heading { margin-bottom: 32px; }
.h-trust .k-section-heading > p { max-width: 380px; }
.h-trust-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.h-trust-grid li { display: flex; flex-direction: column; gap: 8px; padding: 22px 22px 24px; background: #fff; border: 1px solid #e3e6eb; border-radius: 14px; }
.h-trust-icon { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 10px; background: var(--brand-tint); color: #14277c; margin-bottom: 6px; }
.h-trust-icon svg { width: 21px; height: 21px; }
.h-trust-grid strong { font-size: 16px; font-weight: 600; color: var(--ink); letter-spacing: -0.01em; }
.h-trust-grid li > span:last-child { font-size: 13px; line-height: 1.6; color: var(--ink-2); }

/* How early access works. */
.h-early.k-section { padding: 90px 0 70px; }
.h-early .k-section-heading { margin-bottom: 30px; }
.h-early .k-section-heading > p { max-width: 380px; }

/* Recently shipped. */
.h-shipped { padding: 10px 0 70px; }
.h-shipped-head { display: flex; justify-content: space-between; align-items: baseline; gap: 20px; border-top: 1px solid #e7eaee; padding-top: 26px; margin-bottom: 18px; }
.h-shipped-head .k-eyebrow { margin: 0; }
.h-shipped-head .k-eyebrow span { color: #5b616e; margin-inline-start: 10px; letter-spacing: 0.08em; }
.h-shipped-head .h-inline-link { font-size: 13px; }
.h-shipped-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.h-shipped-list a { display: flex; flex-direction: column; gap: 6px; height: 100%; padding: 4px 0 4px 18px; padding-inline: 18px 0; border-left: 0; border-inline-start: 2px solid #a3b4cd; text-decoration: none; color: inherit; }
.h-shipped-list a:hover strong { color: #14277c; }
.h-shipped-list strong { font-size: 16px; font-weight: 600; color: var(--ink); }
.h-shipped-list span { font-size: 13px; line-height: 1.6; color: var(--ink-2); }

/* Final band: a deep teal card with the glass art. */
.h-final { padding: 10px 0 70px; }
.h-final-card { display: grid; grid-template-columns: 1.15fr 0.85fr; align-items: stretch; background: #09123a; border-radius: 22px; overflow: hidden; color: #d9e0ea; }
.h-final-copy { padding: 64px 56px; }
.h-final .k-eyebrow { color: #8fbed0; }
.h-final h2 { font-size: clamp(32px, 3.3vw, 48px); font-weight: 450; letter-spacing: -0.045em; line-height: 1.12; color: #fff; margin: 0 0 20px; }
.h-final h2 em { color: #7fbdd6; }
.h-final-copy > p:not(.k-eyebrow):not(.h-final-trust) { font-size: 15px; line-height: 1.7; color: #b9c4d3; max-width: 470px; margin: 0 0 28px; }
.h-final .btn-primary { background: #fff; color: #09123a; border-color: #fff; }
.h-final .btn-primary:hover { background: #e7eef6; }
.h-final .btn-ghost { background: transparent; color: #fff; border-color: #ffffff59; }
.h-final .btn-ghost:hover { background: #ffffff14; color: #fff; }
.h-final .cta-note { color: #b9c4d3; }
.h-final-trust { margin: 22px 0 0; font-size: 12px; line-height: 1.6; color: #939eb7; max-width: 470px; }
.h-final-art { width: 100%; height: 100%; object-fit: cover; display: block; }
.h-final a:focus-visible { outline-color: #7fbdd6; }

@media (max-width: 1150px) {
  .h-router .h-routes { grid-template-columns: repeat(3, 1fr); }
  .h-router .h-routes .k-workflow:nth-child(5) { grid-column: span 2; }
}
@media (max-width: 900px) {
  .h-scale.k-scale > .container { grid-template-columns: repeat(4, 1fr); row-gap: 18px; }
  .h-scale .k-scale-intro { grid-column: 1 / -1; display: flex; flex-wrap: wrap; align-items: center; gap: 8px 16px; }
  .h-scale .k-scale-intro .k-eyebrow { margin: 0; }
  .h-scale .flag-strip { margin: 0; }
  .h-scale .k-stat:nth-child(2) { border: 0; padding-inline-start: 0; }
  .h-scale .k-coverage { grid-column: 1 / -1; margin-inline-start: 0; margin-top: 0; }
  .h-panel-bar { flex-direction: column; align-items: flex-start; gap: 12px; }
  .h-trust-grid { grid-template-columns: repeat(2, 1fr); }
  .h-final-card { grid-template-columns: 1fr; }
  .h-final-copy { padding: 44px 32px 36px; }
  .h-final-art { height: 240px; }
}
@media (max-width: 700px) {
  .h-hero .k-hero-copy { padding-top: 30px; }
  .h-hero .k-announcement { margin-bottom: 20px; }
  .h-hero h1 { font-size: clamp(50px, 13.4vw, 72px); margin-bottom: 18px; }
  .h-hero .k-lead { font-size: 14px; line-height: 1.65; max-width: none; margin-bottom: 20px; }
  .h-hero .cta-pair .btn { font-size: 13px; padding: 12px 16px; min-height: 44px; gap: 12px; }
  .h-hero .k-hero-visual { height: 230px; }
  .h-hero .k-orbit { width: 400px; }
  .h-scale.k-scale > .container { grid-template-columns: repeat(2, 1fr); gap: 16px 12px; }
  .h-scale .k-scale-intro { display: block; }
  .h-scale .k-scale-intro .k-eyebrow { margin-bottom: 6px; }
  .h-scale .k-scale-intro > p:last-child { text-align: start; font-size: 14px; }
  .h-scale .flag-strip { margin-top: 10px; }
  .h-scale .k-stat:nth-child(4) { border: 0; padding-inline-start: 0; }
  .h-scale .k-stat:nth-child(3), .h-scale .k-stat:nth-child(5) { border-inline-start: 1px solid #e6e9ec; padding-inline-start: 14px; }
  .h-scale .k-stat strong { font-size: 32px; }
  .h-scale .k-stat > span { font-size: 11px; }
  .h-scale .k-coverage { font-size: 12px; max-width: none; }
  .h-tabs { display: flex; width: 100%; border-radius: 14px; }
  .h-tab { flex: 1 1 0; padding: 9px 8px; font-size: 12px; line-height: 1.3; border-radius: 10px; }
  .h-panel { padding: 16px 14px 18px; }
  .h-value { font-size: 14px; }
  .h-panel-links { flex-wrap: wrap; gap: 10px 18px; }
  .h-scene { margin-top: 16px; }
  .h-router .h-routes { grid-template-columns: 1fr; }
  .h-router .h-routes .k-workflow:nth-child(5) { grid-column: auto; }
  .h-router .h-routes .k-workflow { padding: 20px 18px; }
  .h-router .h-routes .k-workflow > div { margin-bottom: 10px; }
  .h-router .h-routes .k-workflow h3 { font-size: 19px; }
  .h-router .h-routes .k-workflow p { font-size: 13px; margin-bottom: 14px; }
  .h-trust.k-section { padding: 56px 0; }
  .h-trust-grid { grid-template-columns: 1fr; gap: 10px; }
  .h-trust-grid li { padding: 18px; }
  .h-early.k-section { padding: 60px 0 50px; }
  .h-shipped-head { flex-direction: column; gap: 8px; }
  .h-shipped-list { grid-template-columns: 1fr; gap: 18px; }
  .h-final { padding-bottom: 60px; }
  .h-final .container { width: calc(100% - 32px); }
  .h-final-copy { padding: 36px 22px 30px; }
  .h-final h2 { font-size: 31px; }
  .h-final-art { height: 190px; }
}
@media (max-width: 560px) {
  .h-hero .k-orbit-label { display: none; }
}

/* Spacing between the new bands and the editorial ones. */
.h-see + .k-platform { padding-top: 40px; }
.h-hero-lang { margin-top: 12px; }

/* Right-to-left: the example brief pushes its side items to the far edge. */
[dir="rtl"] .k-ready,
[dir="rtl"] .k-brief footer > span { margin-left: 0; margin-right: auto; }
