:root {
  --brand: #492970;
  --brand-2: #7a4fe6;
  --accent: #00b8b8;
  --ink: #171226;
  --muted: #6f697a;
  --line: #e9e4ef;
  --surface: #ffffff;
  --canvas: #faf9fc;
  --green: #178447;
  --amber: #a35d00;
  --orange: #b74600;
  --red: #ad0419;
  --gray: #6c6674;
  --shadow: 0 18px 50px rgba(73, 41, 112, .08);
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", Tahoma, Arial, sans-serif;
}
* { box-sizing: border-box; }
html, body { max-width: 100%; overflow-x: hidden; }
body { margin: 0; background: var(--canvas); color: var(--ink); line-height: 1.55; }
button { font: inherit; }
.shell { width: calc(100% - 32px); max-width: 1120px; margin-inline: auto; }
.site-header { background: var(--brand); border-bottom: 1px solid rgba(255,255,255,.12); }
.header-inner { min-height: 76px; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.brand { display: flex; align-items: center; gap: 15px; min-width: 0; color: white; text-decoration: none; font-weight: 650; letter-spacing: -.01em; }
.brand img { width: 42px; height: 42px; object-fit: contain; display: block; }
.brand strong { font-size: 1.35rem; letter-spacing: -.035em; }
.brand span { border-inline-start: 1px solid rgba(255,255,255,.28); padding-inline-start: 15px; }
.language-toggle { color: white; background: rgba(255,255,255,.11); border: 1px solid rgba(255,255,255,.24); border-radius: 999px; padding: 8px 15px; cursor: pointer; }
.language-toggle:hover, .language-toggle:focus-visible { background: rgba(255,255,255,.2); outline: 3px solid rgba(255,255,255,.25); }
.hero { padding-block: 66px 38px; display: grid; grid-template-columns: 1.35fr .65fr; gap: 44px; align-items: end; }
.hero > *, .component > *, .section-heading > *, .footer-inner > * { min-width: 0; }
.eyebrow { color: var(--brand-2); font-size: .76rem; font-weight: 760; letter-spacing: .12em; text-transform: uppercase; margin: 0 0 7px; }
h1, h2, p { margin-top: 0; }
h1 { font-size: clamp(2.15rem, 5vw, 4.3rem); line-height: 1.02; letter-spacing: -.055em; max-width: 760px; margin-bottom: 20px; }
h2 { font-size: clamp(1.3rem, 2.5vw, 1.85rem); line-height: 1.2; letter-spacing: -.025em; margin-bottom: 0; }
.hero-copy { color: var(--muted); max-width: 650px; font-size: 1.07rem; margin-bottom: 0; }
.overall { border-radius: 18px; padding: 19px 20px; display: flex; align-items: flex-start; gap: 13px; border: 1px solid; background: var(--surface); box-shadow: var(--shadow); }
.overall strong, .overall span { display: block; }
.overall strong { font-size: 1rem; }
.overall div > span { color: var(--muted); font-size: .83rem; margin-top: 2px; }
.status-dot { flex: 0 0 auto; width: 12px; height: 12px; margin-top: 6px; border-radius: 50%; background: currentColor; box-shadow: 0 0 0 5px color-mix(in srgb, currentColor 13%, transparent); }
.status-operational { color: var(--green); border-color: #cfe8d9; }
.status-degraded_performance { color: var(--amber); border-color: #eed9b6; }
.status-partial_outage { color: var(--orange); border-color: #edc8b5; }
.status-major_outage { color: var(--red); border-color: #efc8cd; }
.status-maintenance { color: var(--brand-2); border-color: #dcd0f3; }
.status-unknown { color: var(--gray); border-color: var(--line); }
.section { padding-block: 34px; }
.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 24px; margin-bottom: 20px; }
.updated { color: var(--muted); font-size: .85rem; margin: 0; }
.component-list { background: var(--surface); border: 1px solid var(--line); border-radius: 22px; overflow: hidden; box-shadow: var(--shadow); }
.component { display: grid; grid-template-columns: minmax(210px, .9fr) 1.6fr auto; gap: 24px; align-items: center; padding: 22px 24px; border-bottom: 1px solid var(--line); }
.component:last-child { border-bottom: 0; }
.component h3 { margin: 0; font-size: 1rem; }
.component-copy { display: grid; gap: 6px; }
.component-note { margin: 0; color: var(--muted); font-size: .87rem; }
.component-copy small { color: #70677c; font-size: .76rem; }
.badge { display: inline-flex; align-items: center; gap: 8px; border-radius: 999px; padding: 7px 11px; font-size: .79rem; font-weight: 720; white-space: nowrap; background: color-mix(in srgb, currentColor 8%, white); }
.badge::before { content: ""; width: 7px; height: 7px; background: currentColor; border-radius: 50%; }
.split-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.panel { background: var(--surface); border: 1px solid var(--line); border-radius: 22px; padding: 25px; box-shadow: var(--shadow); min-height: 240px; }
.panel > p { color: var(--muted); font-size: .9rem; }
.panel-heading { display: flex; align-items: center; gap: 13px; margin-bottom: 19px; }
.icon-box { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: #f1ecf8; color: var(--brand); font-weight: 800; }
.history-day { margin-top: 15px; }
.history-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 8px; font-size: .84rem; }
.history-bar { display: flex; flex: 1; max-width: 230px; height: 7px; border-radius: 99px; overflow: hidden; background: #ece9ef; }
.history-bar span { min-width: 3px; background: currentColor; }
.empty { border: 1px dashed #d9d2e1; border-radius: 15px; padding: 18px; color: var(--muted); }
.trust-note { margin-block: 38px 66px; display: flex; gap: 14px; align-items: flex-start; padding: 18px 20px; background: #f1ecf8; border: 1px solid #ded3eb; border-radius: 18px; }
.trust-note p { color: #5f526c; margin: 2px 0 0; font-size: .9rem; }
.trust-icon { flex: none; width: 27px; height: 27px; border-radius: 50%; display: grid; place-items: center; background: var(--brand); color: white; font-weight: 800; }
footer { border-top: 1px solid var(--line); background: white; color: var(--muted); }
.footer-inner { min-height: 82px; display: flex; align-items: center; justify-content: space-between; gap: 20px; font-size: .82rem; }
[dir="rtl"] .eyebrow { letter-spacing: 0; text-transform: none; }
[dir="rtl"] h1, [dir="rtl"] h2 { letter-spacing: 0; }
@media (max-width: 760px) {
  .shell { width: calc(100% - 24px); }
  .brand span { display: none; }
  .brand strong { white-space: nowrap; }
  .hero { grid-template-columns: 1fr; gap: 25px; padding-top: 45px; }
  h1 { overflow-wrap: anywhere; }
  .section-heading, .footer-inner { align-items: flex-start; flex-direction: column; }
  .component { grid-template-columns: 1fr auto; gap: 10px 16px; padding: 19px 18px; }
  .component-copy { grid-column: 1 / -1; grid-row: 2; }
  .badge { grid-column: 2; grid-row: 1; }
  .split-grid { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: no-preference) {
  .component { transition: background .2s ease; }
  .component:hover { background: #fdfcff; }
}
