/* wso2.ir theme: loaded after style.css (the shared SmartPath components). Slate surfaces, orange accent. */
:root {
  --navy-950: #0a0f1f;
  --navy-900: #121a30;
  --navy-800: #1c2848;
  --navy-700: #2a3a63;
  --brand: #ff7a1a;
  --brand-500: #f26a00;
  --brand-600: #c2410c;
  --brand-100: #ffe8d4;
  --brand-50: #fff6ee;
  --ink: #141b2d;
  --ink-soft: #4b566c;
  --line: #e4e8f0;
  --bg-alt: #f6f7fb;
}
.btn--primary { background: linear-gradient(135deg, #ff9a4d, #f26a00); color: #1c0d00; box-shadow: 0 8px 24px rgba(242, 106, 0, .35); }
.btn--primary:hover { color: #1c0d00; box-shadow: 0 12px 30px rgba(242, 106, 0, .5); }
.site-header { background: rgba(18, 26, 48, .94); }
.section--dark { background: radial-gradient(1200px 500px at 85% -10%, rgba(255, 138, 60, .2), transparent 60%), linear-gradient(160deg, var(--navy-800), var(--navy-900) 60%, var(--navy-950)); }
.section--dark .eyebrow, .hero .eyebrow, .duo-card--hw .eyebrow { background: rgba(255, 122, 26, .12); border-color: rgba(255, 122, 26, .32); }
.section--dark .feature .ico, .sm-ico { background: rgba(255, 122, 26, .14); border-color: rgba(255, 122, 26, .32); }
.section--dark .check-list li::before { background-color: rgba(255, 122, 26, .2); }
.hero { color: #d9deea; background:
  radial-gradient(900px 480px at 15% 0%, rgba(255, 138, 60, .3), transparent 62%),
  radial-gradient(700px 420px at 100% 100%, rgba(255, 122, 26, .16), transparent 60%),
  linear-gradient(160deg, var(--navy-800) 0%, var(--navy-900) 55%, var(--navy-950) 100%); }
.hero h1 em { background: linear-gradient(120deg, #ffc08a, #ff7a1a 60%, #ff5a36); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero p.lead, .page-hero { color: #d3d9e8; }
.hero-art::before { background: radial-gradient(circle, rgba(255, 122, 26, .3), transparent 68%); }
.page-hero { background: radial-gradient(800px 320px at 85% 0%, rgba(255, 138, 60, .26), transparent 62%), linear-gradient(160deg, var(--navy-800), var(--navy-900) 60%, var(--navy-950)); }
.cta-band { color: #d3d9e8; background: radial-gradient(600px 260px at 0% 0%, rgba(255, 122, 26, .3), transparent 62%), linear-gradient(135deg, var(--navy-800), var(--navy-950)); }
.duo-card--hw { background: radial-gradient(500px 260px at 100% 0%, rgba(255, 138, 60, .28), transparent 60%), linear-gradient(160deg, var(--navy-800), var(--navy-950)); color: #d3d9e8; }
.step .num { background: linear-gradient(135deg, #ff9a4d, #f26a00); color: #1c0d00; }
.field input:focus, .field select:focus, .field textarea:focus { box-shadow: 0 0 0 4px rgba(255, 122, 26, .22); }
@media (max-width: 1100px) { .site-header { background: var(--navy-900); } .sm-ico { background: rgba(255, 122, 26, .14); } }

/* wordmark and small additions */
.brand img { height: 44px; }
.by-badge { display: inline-flex; align-items: center; gap: 8px; font-size: .85rem; color: #aab3c8; border: 1px solid rgba(255, 255, 255, .16); border-radius: 999px; padding: 2px 12px; }
.by-badge:hover { color: #fff; border-color: var(--brand); }
.disclaimer { font-size: .85rem; color: #8f9ab3; margin-top: 14px; line-height: 1.8; }
.timeline { position: relative; display: grid; gap: 0; margin: 0; padding: 0; list-style: none; }
.timeline::before { content: ""; position: absolute; inset-block: 8px; inset-inline-start: 11px; width: 2px; background: linear-gradient(var(--brand), var(--line)); }
.timeline li { position: relative; padding: 0 44px 28px 0; }
[dir="rtl"] .timeline li { padding: 0 44px 28px 0; }
.timeline li::before { content: ""; position: absolute; inset-inline-start: 4px; top: .55em; width: 16px; height: 16px; border-radius: 50%; background: #fff; border: 4px solid var(--brand); }
.timeline time { display: inline-block; font-weight: 700; color: var(--brand-600); background: var(--brand-50); border: 1px solid var(--brand-100); border-radius: 999px; padding: 0 12px; margin-bottom: 6px; }
.timeline h3 { margin: 0 0 .2em; font-size: 1.1rem; }
.timeline p { margin: 0; color: var(--ink-soft); }
.timeline .tag { display: inline-block; margin-inline-start: 8px; font-size: .75rem; font-weight: 600; color: #fff; background: var(--navy-800); border-radius: 6px; padding: 0 8px; vertical-align: middle; }
.version-table td:first-child { font-weight: 700; white-space: nowrap; }
.src-note { font-size: .88rem; color: var(--ink-soft); background: var(--bg-alt); border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 12px 16px; margin-top: 20px; }
.src-note a { font-weight: 600; }

/* tables, linked cards, dark timeline */
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius-sm); background: #fff; }
.table-wrap table { width: 100%; border-collapse: collapse; min-width: 560px; }
.table-wrap th, .table-wrap td { padding: 12px 16px; text-align: start; border-bottom: 1px solid var(--line); vertical-align: top; }
.table-wrap thead th { background: var(--bg-alt); color: var(--navy-900); font-weight: 700; }
.table-wrap tbody tr:last-child td { border-bottom: 0; }
a.feature { display: block; color: inherit; transition: transform .2s, border-color .2s; }
a.feature:hover { transform: translateY(-4px); border-color: var(--brand); color: inherit; }
.dark-timeline .timeline::before { background: linear-gradient(var(--brand), rgba(255, 255, 255, .15)); }
.dark-timeline .timeline li::before { background: var(--navy-900); }
.dark-timeline .timeline h3 { color: #fff; }
.dark-timeline .timeline p { color: #aab3c8; }
.dark-timeline .timeline time { background: rgba(255, 122, 26, .14); border-color: rgba(255, 122, 26, .32); color: #ffb27a; }
.steps-list { counter-reset: s; padding: 0; list-style: none; }
.steps-list li { counter-increment: s; position: relative; padding-inline-start: 44px; margin-bottom: .8em; }
.steps-list li::before { content: counter(s, persian); position: absolute; inset-inline-start: 0; top: .1em; width: 30px; height: 30px; display: grid; place-items: center; border-radius: 50%; background: var(--brand-100); color: var(--brand-600); font-weight: 700; font-size: .9rem; line-height: 1; }

/* benchmark page */
.chart-fig { margin: 0 0 28px; padding: 18px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); }
.chart { width: 100%; height: auto; }
.chart text { font-family: inherit; font-size: 14px; fill: var(--ink-soft); }
.chart .val { font-weight: 700; fill: var(--ink); }
.chart .bar { fill: var(--brand); }
.chart .bar--alt { fill: var(--navy-700); }
.chart-fig figcaption { margin-top: 8px; font-size: .9rem; color: var(--ink-soft); text-align: center; }
.sub-h { margin: 32px 0 12px; font-size: 1.1rem; }
.perf-table td, .perf-table th { text-align: start; }
.perf-table tr.grp th { background: var(--brand-50); color: var(--brand-600); font-weight: 700; }
.perf-table td { font-variant-numeric: tabular-nums; }
.note-card { padding: clamp(20px, 3vw, 32px); }
.note-card h2 { font-size: 1.3rem; }
pre.code { margin: 0; padding: 18px 20px; background: var(--navy-950); color: #e6e9f2; border-radius: var(--radius-sm); overflow-x: auto; font-size: .85rem; line-height: 1.8; text-align: left; }

/* ================= wso2.ir: own visual language (dark glass, spotlight tiles, game layer) ================= */
.card.feature { background: linear-gradient(160deg, #18244a, #0e1630); border: 1px solid rgba(255, 255, 255, .09); color: #c9d0e2; box-shadow: 0 14px 36px rgba(6, 10, 24, .22); position: relative; overflow: hidden; }
.card.feature::before { content: ""; position: absolute; inset-inline-end: -60px; inset-block-start: -60px; width: 160px; height: 160px; border-radius: 50%; background: radial-gradient(circle, rgba(255, 122, 26, .28), transparent 70%); pointer-events: none; }
.card.feature h3 { color: #fff; }
.card.feature p, .card.feature small { color: #aab3c8; }
.card.feature .ico { width: 58px; height: 58px; border-radius: 18px; background: linear-gradient(135deg, rgba(255, 122, 26, .3), rgba(255, 122, 26, .06)); border: 1px solid rgba(255, 122, 26, .45); color: #ffb27a; }
.section--dark .feature, .section--dark .feature .ico { border-color: rgba(255, 122, 26, .3); }

/* bento tiles with illustrations */
.bento { display: grid; grid-template-columns: repeat(12, 1fr); gap: 18px; }
.tile { --mx: 50%; --my: 0%; grid-column: span 4; position: relative; display: flex; flex-direction: column; border-radius: 26px; overflow: hidden; background: linear-gradient(170deg, #17224a, #0c1329); color: #c9d0e2; border: 1px solid rgba(255, 255, 255, .09); transition: transform .25s, border-color .25s, box-shadow .25s; isolation: isolate; }
.tile::after { content: ""; position: absolute; inset: 0; z-index: 2; pointer-events: none; background: radial-gradient(360px circle at var(--mx) var(--my), rgba(255, 138, 60, .2), transparent 45%); opacity: 0; transition: opacity .25s; }
.tile:hover { transform: translateY(-6px); border-color: rgba(255, 122, 26, .55); box-shadow: 0 26px 54px rgba(6, 10, 24, .38); color: #c9d0e2; }
.tile:hover::after { opacity: 1; }
.tile--wide { grid-column: span 6; }
.tile--big { grid-column: span 8; }
.tile__art { position: relative; aspect-ratio: 16 / 10; overflow: hidden; }
.tile__art img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s; }
.tile:hover .tile__art img { transform: scale(1.07); }
.tile__num { position: absolute; z-index: 3; inset-block-start: 14px; inset-inline-end: 14px; min-width: 38px; height: 38px; padding: 0 10px; display: grid; place-items: center; border-radius: 12px; font-weight: 700; color: #1c0d00; background: linear-gradient(135deg, #ffb27a, #ff7a1a); box-shadow: 0 6px 16px rgba(255, 122, 26, .4); }
.tile__body { padding: 18px 22px 24px; }
.tile h3 { color: #fff; font-size: 1.15rem; margin-bottom: .35em; }
.tile p { margin: 0; color: #aab3c8; font-size: .95rem; line-height: 1.85; }
.tile .more { margin-top: 12px; display: inline-flex; gap: 6px; color: #ffb27a; font-weight: 600; }
@media (max-width: 960px) { .tile, .tile--wide, .tile--big { grid-column: span 6; } }
@media (max-width: 620px) { .tile, .tile--wide, .tile--big { grid-column: span 12; } }

/* portal cards */
.portal { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.portal-card { --mx: 50%; --my: 0%; position: relative; isolation: isolate; display: block; border-radius: 30px; overflow: hidden; background: linear-gradient(170deg, #1a2650, #0b1228); border: 1px solid rgba(255, 255, 255, .1); color: #c9d0e2; transition: transform .3s, border-color .3s, box-shadow .3s; }
.portal-card::after { content: ""; position: absolute; inset: 0; z-index: 2; pointer-events: none; background: radial-gradient(420px circle at var(--mx) var(--my), rgba(255, 138, 60, .24), transparent 45%); opacity: 0; transition: opacity .3s; }
.portal-card:hover { transform: translateY(-8px); border-color: rgba(255, 122, 26, .6); box-shadow: 0 30px 60px rgba(6, 10, 24, .45); color: #c9d0e2; }
.portal-card:hover::after { opacity: 1; }
.portal-card .art { aspect-ratio: 16 / 10; overflow: hidden; }
.portal-card .art img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s; }
.portal-card:hover .art img { transform: scale(1.08); }
.portal-card .body { padding: 18px 24px 26px; }
.portal-card .idx { position: absolute; z-index: 3; inset-block-start: 14px; inset-inline-start: 18px; font-size: 2.4rem; font-weight: 700; line-height: 1; color: rgba(255, 255, 255, .22); }
.portal-card .key { display: block; font-size: clamp(1.8rem, 3vw, 2.5rem); font-weight: 700; line-height: 1.2; color: #fff; direction: ltr; text-align: start; }
.portal-card .key em { font-style: normal; color: #ff7a1a; }
.portal-card h3 { color: #ffb27a; font-size: 1rem; margin: .2em 0 .5em; }
.portal-card p { margin: 0 0 12px; color: #aab3c8; }
.portal-card .go { display: inline-flex; align-items: center; gap: 8px; color: #fff; font-weight: 700; }
@media (max-width: 900px) { .portal { grid-template-columns: 1fr; } }

/* OpenAPI builder */
.oas { display: grid; grid-template-columns: 1fr 1.2fr; gap: 0; }
.oas form { padding: 24px 28px; display: grid; gap: 14px; align-content: start; }
.oas label.t { display: block; font-weight: 600; margin-bottom: 4px; }
.oas input[type=text], .oas select { width: 100%; padding: 10px 14px; border: 1.5px solid var(--line); border-radius: 12px; background: #fff; font: inherit; direction: ltr; text-align: left; }
.oas .checks { display: flex; gap: 14px; flex-wrap: wrap; direction: ltr; }
.oas-out { position: relative; background: var(--navy-950); }
.oas-out pre { margin: 0; padding: 22px 24px; color: #e6e9f2; font-size: .84rem; line-height: 1.8; overflow: auto; max-height: 420px; text-align: left; direction: ltr; }
.oas-out button { position: absolute; inset-block-start: 12px; inset-inline-end: 12px; padding: 4px 14px; border-radius: 10px; border: 1px solid rgba(255, 255, 255, .25); background: rgba(255, 255, 255, .08); color: #fff; font: inherit; cursor: pointer; }
@media (max-width: 860px) { .oas { grid-template-columns: 1fr; } }

/* inner page hero with art */
.phero { position: relative; overflow: hidden; color: #cfd6ea; background: #0a0f1f; }
.phero::before { content: ""; position: absolute; inset: 0; background: radial-gradient(640px 320px at 85% 20%, rgba(255, 122, 26, .32), transparent 62%), radial-gradient(520px 300px at 10% 100%, rgba(122, 92, 255, .22), transparent 62%); }
.phero .container { position: relative; display: grid; grid-template-columns: 1.2fr .8fr; gap: 32px; align-items: center; padding-block: clamp(34px, 5vw, 64px); }
.phero h1 { color: #fff; font-size: clamp(1.8rem, 3.5vw, 2.7rem); text-wrap: balance; }
.phero p { max-width: 640px; font-size: 1.05rem; margin: 0; }
.phero .art { border-radius: 26px; overflow: hidden; box-shadow: 0 24px 60px rgba(0, 0, 0, .45); border: 1px solid rgba(255, 255, 255, .12); }
.phero .breadcrumb { margin-bottom: 14px; }
.phero .eyebrow { color: #ffb27a; background: rgba(255, 122, 26, .12); border: 1px solid rgba(255, 122, 26, .32); }
@media (max-width: 900px) { .phero .container { grid-template-columns: 1fr; } .phero .art { display: none; } }

/* compare table and chips */
.cmp td.yes { color: #138a5b; font-weight: 700; } .cmp td.no { color: #b42318; font-weight: 700; }
.cmp thead th { white-space: nowrap; }
.pill-list { display: flex; flex-wrap: wrap; gap: 10px; }
.pill-list span { padding: 6px 16px; border-radius: 999px; background: var(--brand-50); border: 1px solid var(--brand-100); color: var(--brand-600); font-weight: 600; direction: ltr; }
.rank-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.rank { padding: 26px; border-radius: 26px; color: #c9d0e2; background: linear-gradient(170deg, #17224a, #0c1329); border: 1px solid rgba(255, 255, 255, .1); }
.rank small { color: #ffb27a; font-weight: 700; }
.rank b { display: block; font-size: 1.6rem; color: #fff; margin: 6px 0; }
.rank p { margin: 0; color: #aab3c8; }
@media (max-width: 760px) { .rank-grid { grid-template-columns: 1fr; } }
.check-steps { counter-reset: c; display: grid; gap: 12px; padding: 0; list-style: none; }
.check-steps li { counter-increment: c; position: relative; padding: 14px 64px 14px 18px; border: 1px solid var(--line); border-radius: 18px; background: #fff; }
.check-steps li::before { content: counter(c, persian); position: absolute; inset-inline-start: auto; inset-inline-end: 16px; top: 50%; transform: translateY(-50%); width: 36px; height: 36px; display: grid; place-items: center; border-radius: 12px; font-weight: 700; color: #1c0d00; background: linear-gradient(135deg, #ffb27a, #ff7a1a); }
@media (prefers-reduced-motion: reduce) { .hero2::before { animation: none; } .tile, .portal-card, .quest { transition: none; } }

.oas-pad { padding: 8px 28px 24px; display: grid; gap: 14px; align-content: start; }
.oas .checks label { display: inline-flex; gap: 6px; align-items: center; }

.tile--wide .tile__art { aspect-ratio: 16 / 8; }
.oas-out pre { padding-top: 52px; }
.oas { align-items: stretch; }


/* ---------- calmer, enterprise look ---------- */
.panel { border-radius: 22px; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-sm); overflow: hidden; }
.panel__head { padding: 22px 28px 0; }
.panel__head h2 { margin: 0; font-size: 1.25rem; }
.tile__num { min-width: 34px; height: 34px; border-radius: 10px; color: #fff; background: rgba(10, 15, 31, .72); border: 1px solid rgba(255, 255, 255, .22); box-shadow: none; font-size: .9rem; }
.tile { border-radius: 20px; }
.portal-card { border-radius: 22px; }
.portal-card .idx { display: none; }
.btn--primary { box-shadow: 0 6px 18px rgba(242, 106, 0, .28); }
.card.feature { border-radius: 18px; }

/* hero */
.hero3 { position: relative; overflow: hidden; background: #0a1020; color: #d3d9e8; padding-block: clamp(40px, 5vw, 80px) clamp(56px, 6vw, 92px); }
.hero3::before { content: ""; position: absolute; inset: 0; background: radial-gradient(700px 420px at 85% 10%, rgba(255, 122, 26, .2), transparent 62%), radial-gradient(600px 400px at 0% 100%, rgba(70, 90, 170, .25), transparent 62%); }
.hero3::after { content: ""; position: absolute; inset: 0; background-image: linear-gradient(rgba(255, 255, 255, .035) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .035) 1px, transparent 1px); background-size: 56px 56px; mask-image: linear-gradient(180deg, #000, transparent 85%); -webkit-mask-image: linear-gradient(180deg, #000, transparent 85%); pointer-events: none; }
.hero3-inner { position: relative; z-index: 1; display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(28px, 4vw, 56px); align-items: center; }
.hero3 .eyebrow { color: #ffb27a; background: rgba(255, 122, 26, .1); border: 1px solid rgba(255, 122, 26, .3); direction: ltr; }
.hero3 h1 { color: #fff; font-size: clamp(1.9rem, 3.6vw, 2.9rem); text-wrap: balance; margin-bottom: .5em; }
.hero3 .lead { font-size: 1.08rem; color: #c3cbe0; max-width: 560px; margin-bottom: 22px; }
.uses { display: grid; gap: 12px; margin: 0 0 26px; padding: 0; list-style: none; }
.uses li { display: flex; gap: 14px; align-items: flex-start; color: #e3e8f5; }
.uses .ui { flex: none; width: 36px; height: 36px; border-radius: 10px; display: grid; place-items: center; color: #ffb27a; background: rgba(255, 122, 26, .12); border: 1px solid rgba(255, 122, 26, .3); }
.uses .ui .i { width: 20px; height: 20px; }
.uses b { color: #fff; }
.flow { background: rgba(255, 255, 255, .045); border: 1px solid rgba(255, 255, 255, .12); border-radius: 22px; padding: 14px; box-shadow: 0 24px 60px rgba(0, 0, 0, .35); }
.flow svg { width: 100%; height: auto; display: block; }
.flow .wire { fill: none; stroke: rgba(255, 255, 255, .22); stroke-width: 1.6; }
.flow .node rect { fill: rgba(255, 255, 255, .07); stroke: rgba(255, 255, 255, .26); stroke-width: 1.2; }
.flow .node.core rect { fill: rgba(255, 122, 26, .16); stroke: rgba(255, 122, 26, .7); }
.flow .node text { fill: #e8ecf7; font-size: 11.5px; font-family: inherit; text-anchor: middle; }
.flow .node text.sub { fill: #9aa6c4; font-size: 9.5px; }
.flow .node use { color: #ffb27a; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.flow .cap { fill: #9aa6c4; font-size: 10px; font-family: inherit; text-anchor: middle; }
.flow .pk { fill: #ffc24a; }
.flow .pulse { animation: pulse 2.8s ease-in-out infinite; }
@keyframes pulse { 50% { stroke-opacity: .25; } }
@media (max-width: 1000px) { .hero3-inner { grid-template-columns: 1fr; } }
@media (prefers-reduced-motion: reduce) { .flow .pulse { animation: none; } }

.two { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }
@media (max-width: 760px) { .two { grid-template-columns: 1fr; } }
.value-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; border: 1px solid var(--line); border-radius: 20px; background: #fff; overflow: hidden; }
.value-row div { padding: 24px 22px; border-inline-start: 1px solid var(--line); }
.value-row div:first-child { border-inline-start: 0; }
.value-row b { display: block; color: var(--navy-900); margin-bottom: 6px; }
.value-row p { margin: 0; color: var(--ink-soft); font-size: .95rem; }
@media (max-width: 900px) { .value-row { grid-template-columns: repeat(2, 1fr); } .value-row div:nth-child(3) { border-inline-start: 0; } .value-row div:nth-child(n+3) { border-top: 1px solid var(--line); } }
@media (max-width: 520px) { .value-row { grid-template-columns: 1fr; } .value-row div { border-inline-start: 0; border-top: 1px solid var(--line); } .value-row div:first-child { border-top: 0; } }

/* benchmark page */
.stat-pair { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
@media (max-width: 760px) { .stat-pair { grid-template-columns: 1fr; } }
.chart-card { background: #fff; border: 1px solid var(--line); border-radius: 22px; padding: clamp(18px, 3vw, 30px); box-shadow: var(--shadow-sm); }
.chart-card h3 { margin-bottom: .2em; }
.chart-card .sub { color: var(--ink-soft); margin: 0 0 18px; font-size: .95rem; }
.chart-legend { display: flex; flex-wrap: wrap; gap: 8px 18px; margin: 14px 0 0; padding: 0; list-style: none; font-size: .88rem; color: var(--ink-soft); }
.chart-legend i { display: inline-block; width: 12px; height: 12px; border-radius: 4px; margin-inline-end: 6px; vertical-align: -1px; }
.chart .b-wso2 { fill: #ff7a1a; } .chart .b-kong { fill: #3b4a78; } .chart .b-apigee { fill: #8b97b8; }
.warn-bar { display: flex; gap: 12px; align-items: flex-start; padding: 14px 18px; margin-top: 18px; border-radius: 14px; background: #fff7e8; border: 1px solid #ffd9a0; color: #6b4300; font-size: .92rem; }
.warn-bar b { color: #4d2f00; }
.ring { display: grid; place-items: center; }
.ring svg { width: 150px; height: 150px; }
.ring .trk { fill: none; stroke: rgba(255, 255, 255, .15); stroke-width: 14; }
.ring .val { fill: none; stroke: #ff7a1a; stroke-width: 14; stroke-linecap: round; }
.ring text { fill: #fff; font-family: inherit; font-weight: 700; font-size: 30px; text-anchor: middle; }
.rank { display: grid; grid-template-columns: auto 1fr; gap: 20px; align-items: center; }
.rank .ring { grid-row: span 1; }

.tile--third { grid-column: span 4; }
.tile--quarter { grid-column: span 3; }
@media (max-width: 960px) { .tile--third, .tile--quarter { grid-column: span 6; } }
@media (max-width: 620px) { .tile--third, .tile--quarter { grid-column: span 12; } }
.tile--quarter .tile__art { aspect-ratio: 16 / 11; }
.rank-card { display: grid; grid-template-columns: auto 1fr; gap: 22px; align-items: center; padding: 26px; border-radius: 22px; color: #c9d0e2; background: linear-gradient(170deg, #17224a, #0c1329); border: 1px solid rgba(255, 255, 255, .1); }
.rank-card small { color: #ffb27a; font-weight: 700; }
.rank-card b { display: block; color: #fff; margin: 4px 0 6px; font-size: 1.1rem; }
.rank-card p { margin: 0; color: #aab3c8; font-size: .95rem; }
@media (max-width: 520px) { .rank-card { grid-template-columns: 1fr; justify-items: center; text-align: center; } }
.stat-pair { grid-template-columns: repeat(3, 1fr); gap: 12px; }
.rank-mini { padding: 16px 16px; border: 1px solid var(--line); border-radius: 16px; background: #fff; }
.rank-mini b { display: block; font-size: 1.6rem; line-height: 1.3; color: var(--brand-600); }
.rank-mini span { color: var(--ink-soft); font-size: .85rem; line-height: 1.6; display: block; }
.chart .lab { font-size: 14px; }
.flow .node text { font-size: 13px; }
.flow .node text.sub { font-size: 10.5px; }
.flow .cap { font-size: 11.5px; }

/* first screen: the whole hero fits the viewport and nothing of the next block peeks in at the bottom */
.hero3 { min-height: calc(100vh - var(--header-h)); min-height: calc(100svh - var(--header-h)); display: flex; align-items: center; padding-block: clamp(20px, 3.2vh, 44px); }
.hero3 h1 { font-size: clamp(1.7rem, 3.1vw, 2.5rem); margin-bottom: .35em; }
.hero3 .eyebrow { margin-bottom: 10px; }
.hero3 .lead { font-size: 1rem; line-height: 1.85; margin-bottom: 16px; }
.uses { grid-template-columns: repeat(2, 1fr); gap: 12px 20px; margin-bottom: 18px; }
.uses li { gap: 10px; font-size: .92rem; line-height: 1.7; }
.uses .ui { width: 32px; height: 32px; }
.hero3 .hero-actions { margin-top: 0; }
.hero3 + .stats { margin-top: 0; padding-top: 28px; }
@media (max-width: 1000px) { .hero3 { min-height: 0; display: block; padding-block: 32px 44px; } .uses { grid-template-columns: 1fr; } }
@media (max-height: 700px) and (min-width: 1001px) { .hero3 .lead { font-size: .95rem; margin-bottom: 12px; } .uses { margin-bottom: 12px; } .flow { padding: 8px; } }

/* first screen: less text, larger animated diagram */
.hero3-inner { grid-template-columns: .8fr 1.2fr; gap: clamp(20px, 3vw, 44px); }
.hero3 h1 { font-size: clamp(1.7rem, 2.9vw, 2.4rem); }
.uses { grid-template-columns: 1fr; gap: 10px; margin-bottom: 20px; }
.uses li { align-items: center; font-size: 1rem; }
.flow { padding: clamp(10px, 1.4vw, 18px); }
@media (max-width: 1000px) { .hero3-inner { grid-template-columns: 1fr; } }
.hero3 > .container { width: min(100% - 48px, 1480px); }

/* clear separation between sections */
.section--alt { background: #e9edf5; border-block: 1px solid #d3dae9; }
.section--plain { background: #fff; }
.section--dark { border-block: 1px solid rgba(255, 255, 255, .08); }
.section-head h2::after { content: ""; display: block; width: 52px; height: 3px; margin: 14px auto 0; border-radius: 3px; background: linear-gradient(90deg, #ff7a1a, #ffc24a); }
.section-head[style], .split .section-head h2::after { margin-inline: 0; }
.section--dark .tile, .section--dark .card.feature { border-color: rgba(255, 255, 255, .16); }
.stats + .section { padding-top: clamp(48px, 6vw, 80px); }
.section { padding-block: clamp(52px, 6vw, 88px); }

/* key figures live on the first screen, at the bottom of the hero */
.hero3 { flex-direction: column; justify-content: center; gap: clamp(14px, 2.4vh, 28px); }
.hero3 > .container { margin-inline: auto; }
.hero-stats { position: relative; z-index: 1; }
.hero-stats .stats-grid { background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .14); box-shadow: none; border-radius: 18px; }
.hero-stats .stat { padding: 12px 18px; }
.hero-stats .stat + .stat { border-inline-start: 1px solid rgba(255, 255, 255, .12); }
.hero-stats .stat small { color: #9aa6c4; }
.hero-stats .stat span { color: #c3cbe0; }
.hero-stats .stat b { background: linear-gradient(120deg, #ffd0a6, #ff9a4d); -webkit-background-clip: text; background-clip: text; color: transparent; font-size: clamp(1.4rem, 2.2vw, 1.9rem); }
@media (max-width: 1000px) { .hero3 { display: block; } .hero-stats { margin-top: 24px; } }
@media (max-height: 780px) and (min-width: 1001px) {
  .hero3 { padding-block: 12px; gap: 10px; }
  .hero3 h1 { font-size: 1.6rem; margin-bottom: .25em; }
  .hero3 .eyebrow { margin-bottom: 6px; padding-block: 0; }
  .hero3 .lead { font-size: .92rem; line-height: 1.7; margin-bottom: 10px; }
  .uses { gap: 6px; margin-bottom: 12px; }
  .uses li { font-size: .92rem; }
  .uses .ui { width: 28px; height: 28px; }
  .hero3 .btn { padding-block: 9px; }
  .hero-stats .stat { padding: 6px 14px; }
  .hero-stats .stat small { font-size: .75rem; line-height: 1.4; }
  .hero-stats .stat b { font-size: 1.25rem; line-height: 1.2; }
  .hero-stats .stat span { font-size: .8rem; line-height: 1.4; }
  .flow svg { max-height: calc(100vh - 270px); margin-inline: auto; }
}

/* body text: justified where the column is wide enough; narrow cards and tiles keep normal alignment so word gaps never stretch */
.prose p, .prose li, .split .reveal > p, .faq details p, .article p, .note, .src-note { text-align: justify; text-justify: inter-word; }
.tile p, .portal-card p, .card.feature p, .value-row p, .rank-card p, .step p, .info-card p, .hero3 .lead, .split .reveal > .check-list li, .split .reveal > ul li { text-align: start; }
@media (max-width: 700px) { .prose p, .prose li, .split .reveal > p, .faq details p, .article p, .note, .src-note { text-align: start; } }

/* answer box, glossary, flat stats */
.answer { margin: 0; padding: 18px 22px; border-radius: 16px; background: #fff; border: 1px solid var(--line); border-inline-start: 5px solid var(--brand); box-shadow: var(--shadow-sm); font-size: 1.02rem; line-height: 2; text-align: justify; text-justify: inter-word; }
.answer strong { color: var(--brand-600); }
.section--tight { padding-block: clamp(28px, 4vw, 48px); }
.terms { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.term { padding: 18px 22px; border: 1px solid var(--line); border-radius: 18px; background: #fff; }
.term h3 { margin-bottom: .1em; font-size: 1.1rem; }
.term small { display: block; color: var(--brand-600); margin-bottom: .5em; }
.term p { margin: 0; color: var(--ink-soft); text-align: start; }
@media (max-width: 760px) { .terms { grid-template-columns: 1fr; } }
.note-card { padding: clamp(20px, 3vw, 32px); }
.note-card p { margin: 0; text-align: start; }
.stats-grid--flat { box-shadow: none; }

.grid--center { display: flex; flex-wrap: wrap; justify-content: center; gap: 22px; }
.grid--center > * { flex: 0 1 calc(33.333% - 15px); min-width: 260px; }

/* numbered checklist: the number sits on the start side (right in RTL) */
.check-steps li { padding: 14px 18px; padding-inline-start: 66px; }
.check-steps li::before { inset-inline-start: 16px; inset-inline-end: auto; }

/* delivery models on the first screen */
.flow-badges { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 10px; padding-top: 10px; border-top: 1px solid rgba(255, 255, 255, .1); }
.flow-badges__lab { color: #9aa6c4; font-size: .85rem; }
.fb { display: inline-flex; align-items: center; gap: 6px; padding: 3px 12px; border-radius: 999px; font-size: .85rem; font-weight: 600; color: #ffd9bd; background: rgba(255, 122, 26, .12); border: 1px solid rgba(255, 122, 26, .35); }
.fb .i { width: 16px; height: 16px; }
.fb:hover { color: #fff; border-color: #ff7a1a; background: rgba(255, 122, 26, .25); }
@media (max-height: 780px) and (min-width: 1001px) { .flow svg { max-height: calc(100vh - 318px); } .flow-badges { margin-top: 6px; padding-top: 6px; } }

.recog-row { margin: 24px 0; }
.disclaimer-light { font-size: .85rem; color: var(--ink-soft); margin-top: 10px; }
.note-card .check-list li { text-align: start; }
