.cat {
    --p: 275 100% 25%;
    --p-fg: 0 0% 100%;
    --p-light: 274 74% 41%;
    --p-dark: 275 100% 18%;
    --p-glow: 261 100% 62%;
    --fg: 270 50% 10%;
    --muted: 270 15% 45%;
    --bg: 270 20% 98%;
    --card: 0 0% 100%;
    --accent: 267 75% 92%;
    --line: 270 20% 90%;
    --shadow-card: 0 4px 20px -4px hsl(275 100% 25% / 0.12);
    --shadow-elegant: 0 10px 40px -10px hsl(274 74% 41% / 0.3);
    box-sizing: border-box;
    min-height: 100vh;
    background: hsl(var(--bg));
    color: hsl(var(--fg));
    font-family: "Cairo", "Noto Kufi Arabic", "Traditional Arabic", "Segoe UI", sans-serif;
    line-height: 1.5;
}

.cat *,
.cat *::before,
.cat *::after {
    box-sizing: border-box;
}

.cat a {
    color: inherit;
    text-decoration: none;
}

.cat h1,
.cat h2,
.cat h3,
.cat p {
    margin: 0;
}

.cat button,
.cat input {
    font: inherit;
    color: inherit;
}

.cat :focus-visible {
    outline: 2px solid hsl(var(--p-light));
    outline-offset: 2px;
}

.cat [hidden] {
    display: none !important;
}

.cat-wrap {
    width: min(72rem, calc(100% - 2rem));
    margin-inline: auto;
}

.cat-narrow {
    width: min(64rem, calc(100% - 2rem));
    margin-inline: auto;
}

.cat-hero {
    position: relative;
    height: 16rem;
    overflow: hidden;
}

.cat-hero img,
.cat-shade {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}

.cat-hero img {
    object-fit: cover;
}

.cat-shade {
    background: linear-gradient(to top, hsl(var(--fg) / 0.9), hsl(var(--fg) / 0.6), hsl(var(--fg) / 0.3));
}

.cat-hero-copy {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    height: 100%;
    width: min(72rem, calc(100% - 2rem));
    margin-inline: auto;
    color: white;
}

.cat-back {
    display: inline-flex;
    align-items: center;
    gap: 0.375rem;
    width: fit-content;
    margin-bottom: 0.75rem;
    color: rgb(255 255 255 / 0.9);
    font-size: 0.875rem;
}

.cat-back .glyph {
    font-size: 1rem;
    transform: rotate(180deg);
}

.cat-hero h1 {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 1.5rem;
    font-weight: 800;
}

.cat-hero h1 .glyph {
    font-size: 1.75rem;
}

.cat-hero-copy > p {
    max-width: 36rem;
    margin-top: 0.5rem;
    color: rgb(255 255 255 / 0.9);
    font-size: 0.875rem;
}

.cat-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 1.25rem;
}

.cat-glow {
    border: 0;
    color: white;
    background: hsl(var(--p-glow));
}

.cat-glow:hover {
    color: white;
    background: hsl(var(--p-light));
}

.cat .cta.cat-glow {
    background-image: none;
    animation: none;
    box-shadow: none;
}

.cat-block {
    margin-top: 2rem;
}

.cat-block.loose {
    margin-top: 3rem;
}

.cat-card,
.cat-provider,
.cat-panel,
.cat-empty,
.cat-stat,
.cat-package,
.cat-fact {
    border: 1px solid hsl(var(--line));
    background: hsl(var(--card));
    border-radius: 1rem;
    box-shadow: var(--shadow-card);
}

.cat-highlights {
    display: grid;
    gap: 1rem;
}

.cat-card {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    padding: 1rem;
}

.cat-card .glyph,
.cat-note .glyph,
.cat-section h2 .glyph {
    font-size: 1.25rem;
    color: hsl(var(--p));
    margin-top: 0.125rem;
}

.cat-card p,
.cat-note {
    font-size: 0.875rem;
}

.cat-note {
    display: flex;
    align-items: center;
    gap: 0.375rem;
    margin-bottom: 1.25rem;
    color: hsl(var(--muted));
    font-size: 0.75rem;
}

.cat-section {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.cat-section .bar {
    width: 0.25rem;
    height: 1.5rem;
    border-radius: 999px;
    background: hsl(var(--p));
}

.cat-section h2 {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: hsl(var(--p));
    font-size: 1.125rem;
    font-weight: 800;
}

.cat-slider {
    position: relative;
}

.cat-viewport {
    position: relative;
    height: 16rem;
    overflow: hidden;
    border-radius: 1.5rem;
    box-shadow: var(--shadow-elegant);
}

.cat-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity 0.45s ease;
}

.cat-slide.is-on {
    opacity: 1;
    z-index: 1;
}

.cat-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.cat-slide-shade {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, hsl(var(--fg) / 0.8), hsl(var(--fg) / 0.25), transparent);
}

.cat-slide-copy {
    position: absolute;
    inset-inline: 0;
    bottom: 0;
    z-index: 1;
    padding: 1.25rem 1.25rem 2.25rem;
    color: white;
}

.cat-slide-copy h3 {
    font-size: 1.125rem;
    font-weight: 800;
}

.cat-slide-copy p {
    margin-top: 0.25rem;
    color: rgb(255 255 255 / 0.85);
    font-size: 0.75rem;
}

.cat-nav {
    position: absolute;
    z-index: 2;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    align-items: center;
    justify-content: center;
    width: 2.25rem;
    height: 2.25rem;
    border: 0;
    border-radius: 999px;
    background: hsl(var(--bg) / 0.8);
    color: hsl(var(--fg));
    box-shadow: var(--shadow-card);
    cursor: pointer;
}

.cat-nav:hover {
    background: hsl(var(--bg));
}

.cat-prev {
    inset-inline-start: 0.75rem;
}

.cat-next {
    inset-inline-end: 0.75rem;
}

.cat-nav .glyph {
    font-size: 1.25rem;
}

.cat-prev .glyph {
    transform: rotate(180deg);
}

.cat-dots {
    position: absolute;
    z-index: 2;
    inset-inline: 0;
    bottom: 0.75rem;
    display: flex;
    justify-content: center;
    gap: 0.375rem;
}

.cat-dots button {
    width: 0.5rem;
    height: 0.375rem;
    padding: 0;
    border: 0;
    border-radius: 999px;
    background: rgb(255 255 255 / 0.5);
    cursor: pointer;
}

.cat-dots button.is-on {
    width: 1.5rem;
    background: white;
}

.cat-search {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.cat-search-field {
    position: relative;
    flex: 1;
}

.cat-search-field .glyph {
    position: absolute;
    top: 50%;
    inset-inline-start: 0.75rem;
    transform: translateY(-50%);
    color: hsl(var(--muted));
    font-size: 1rem;
}

.cat-search input {
    width: 100%;
    min-height: 2.5rem;
    padding: 0.5rem 0.9rem 0.5rem 2.25rem;
    border: 1px solid hsl(var(--line));
    border-radius: 999px;
    background: hsl(var(--card));
}

[dir="rtl"] .cat-search input {
    padding: 0.5rem 2.25rem 0.5rem 0.9rem;
}

.cat-icon-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.5rem;
    height: 2.5rem;
    flex: none;
    border: 1px solid hsl(var(--line));
    border-radius: 999px;
    background: hsl(var(--card));
    cursor: pointer;
}

.cat-icon-btn.is-on,
.cat-icon-btn[aria-expanded="true"] {
    border-color: transparent;
    background: hsl(var(--p));
    color: white;
}

.cat-panel {
    display: grid;
    gap: 1rem;
    margin-top: 0.75rem;
    padding: 1rem;
}

.cat-panel label,
.cat-panel .label {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 0.5rem;
    color: hsl(var(--muted));
    font-size: 11px;
}

.cat-panel strong {
    color: hsl(var(--p));
    font-size: 11px;
}

.cat-panel input[type="range"] {
    width: 100%;
    accent-color: hsl(var(--p));
}

.cat-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.cat-chip {
    border: 1px solid hsl(var(--line));
    border-radius: 999px;
    background: transparent;
    padding: 0.25rem 0.75rem;
    color: hsl(var(--muted));
    font-size: 11px;
    font-weight: 600;
    cursor: pointer;
}

.cat-chip.is-on {
    border-color: hsl(var(--p));
    background: hsl(var(--accent));
    color: hsl(var(--p));
}

.cat-sort {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.5rem;
}

.cat-sort > span {
    color: hsl(var(--muted));
    font-size: 11px;
}

.cat-reset {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    margin-inline-start: auto;
    border: 0;
    background: transparent;
    color: hsl(var(--fg));
    font-size: 11px;
    cursor: pointer;
}

.cat-count {
    margin-top: 0.75rem;
    color: hsl(var(--muted));
    font-size: 11px;
}

.cat-empty {
    margin-top: 1rem;
    padding: 2rem;
    text-align: center;
    color: hsl(var(--muted));
    font-size: 0.875rem;
}

.cat-providers {
    display: grid;
    gap: 1rem;
    margin-top: 1rem;
}

.cat-provider {
    display: flex;
    flex-direction: column;
    padding: 1rem;
}

.cat-provider:hover {
    box-shadow: var(--shadow-elegant);
}

.cat-who {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    min-width: 0;
}

.cat-who img,
.cat-team img,
.cat-person img {
    width: 3.5rem;
    height: 3.5rem;
    border-radius: 0.75rem;
    object-fit: cover;
}

.cat-who h3 {
    display: flex;
    align-items: center;
    gap: 0.375rem;
    overflow: hidden;
    font-size: 0.875rem;
    font-weight: 700;
}

.cat-who h3 span,
.cat-who p {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.cat-who p,
.cat-meta {
    display: flex;
    align-items: center;
    gap: 0.25rem;
    color: hsl(var(--muted));
    font-size: 0.75rem;
}

.cat-who .glyph,
.cat-meta .glyph {
    font-size: 0.85rem;
    color: hsl(var(--p));
}

.cat-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.375rem;
    margin-top: 0.75rem;
}

.cat-tag {
    border-radius: 999px;
    background: hsl(var(--accent));
    color: hsl(var(--p));
    padding: 0.125rem 0.5rem;
    font-size: 11px;
    font-weight: 600;
}

.cat-metrics {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.5rem;
    margin-top: 1rem;
    text-align: center;
}

.cat-metrics div {
    border-radius: 0.75rem;
    background: hsl(var(--bg));
    padding: 0.5rem 0.25rem;
}

.cat-metrics strong {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.25rem;
    font-size: 0.875rem;
}

.cat-metrics span,
.cat-price {
    color: hsl(var(--muted));
    font-size: 10px;
}

.cat-metrics .glyph {
    font-size: 0.85rem;
    color: hsl(var(--p));
}

.cat-star {
    color: hsl(var(--p));
}

.cat-price {
    margin-top: 0.75rem;
    font-size: 0.75rem;
}

.cat-price b {
    color: hsl(var(--p));
    font-size: 0.875rem;
}

.cat-row {
    display: flex;
    gap: 0.5rem;
    margin-top: 1rem;
}

.cat-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.375rem;
    flex: 1;
    min-height: 2rem;
    padding: 0.35rem 0.8rem;
    border-radius: 999px;
    border: 1px solid transparent;
    font-size: 0.8rem;
    font-weight: 600;
}

.cat a.cat-btn,
.cat button.cat-btn {
    background: hsl(var(--p));
    color: white;
}

.cat a.cat-btn-line,
.cat button.cat-btn-line {
    border-color: hsl(var(--line));
    background: transparent;
    color: hsl(var(--fg));
}

.cat-outline {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    min-height: 2.5rem;
    margin-bottom: 1rem;
    padding: 0.4rem 1rem;
    border: 1px solid hsl(var(--line));
    border-radius: 999px;
    background: hsl(var(--card));
    font-weight: 600;
}

.cat-outline .glyph {
    font-size: 1rem;
    color: hsl(var(--p));
}

.cat-steps {
    display: grid;
    gap: 1.25rem;
    margin-top: 3rem;
    padding: 1.5rem;
    border-radius: 1.5rem;
    background: hsl(var(--accent));
}

.cat-step {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
}

.cat-step i {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 2rem;
    height: 2rem;
    flex: none;
    border-radius: 999px;
    background: hsl(var(--p));
    color: white;
    font-style: normal;
    font-size: 0.875rem;
    font-weight: 700;
}

.cat-step p {
    font-size: 0.875rem;
    font-weight: 600;
}

.cat-others {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
}

.cat-mini {
    overflow: hidden;
    border: 1px solid hsl(var(--line));
    border-radius: 1rem;
    background: hsl(var(--card));
    box-shadow: var(--shadow-card);
}

.cat-mini img {
    width: 100%;
    height: 7rem;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.cat-mini:hover img {
    transform: scale(1.05);
}

.cat-mini div {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem;
}

.cat-mini .glyph {
    font-size: 1rem;
    color: hsl(var(--p));
}

.cat-mini span {
    overflow: hidden;
    font-size: 0.875rem;
    font-weight: 600;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.cat-missing {
    padding: 4rem 0 2rem;
}

.cat-missing h1 {
    margin-top: 0.75rem;
    font-size: 1.75rem;
}

.cat-banner {
    background: linear-gradient(135deg, hsl(275 100% 25%), hsl(261 100% 62%));
    color: white;
}

.cat-banner-inner {
    width: min(72rem, calc(100% - 2rem));
    margin-inline: auto;
    padding: 2rem 0 3.5rem;
}

.cat-banner a.cat-back {
    color: rgb(255 255 255 / 0.9);
}

.cat-banner h1 {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1.5rem;
    font-weight: 800;
}

.cat-banner p {
    margin-top: 0.5rem;
    color: rgb(255 255 255 / 0.85);
    font-size: 0.875rem;
}

.cat-legend {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-top: 0.5rem;
    color: rgb(255 255 255 / 0.7);
    font-size: 11px;
}

.cat-legend span {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
}

.cat-banner .glyph {
    font-size: 1.15rem;
}

.cat-table-wrap {
    margin-top: 2rem;
    overflow-x: auto;
    border: 1px solid hsl(var(--line));
    border-radius: 1rem;
    background: hsl(var(--card));
    box-shadow: var(--shadow-card);
}

.cat-table {
    width: 100%;
    min-width: 45rem;
    border-collapse: collapse;
    font-size: 0.75rem;
}

.cat-table th,
.cat-table td {
    padding: 0.75rem;
    text-align: start;
    vertical-align: top;
}

.cat-table thead {
    background: hsl(var(--accent) / 0.6);
    color: hsl(var(--p));
}

.cat-table tbody tr + tr td {
    border-top: 1px solid hsl(var(--line));
}

.cat-table th a:hover {
    text-decoration: underline;
}

.cat-best {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    margin-top: 0.25rem;
    border-radius: 999px;
    background: hsl(var(--p));
    color: white;
    padding: 0.1rem 0.5rem;
    font-size: 10px;
}

.cat-rank {
    margin-top: 0.25rem;
    color: hsl(var(--muted));
    font-size: 10px;
    font-weight: 700;
}

.cat-win {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    color: hsl(var(--p));
    font-weight: 700;
}

.cat-win .glyph,
.cat-plain .glyph {
    font-size: 0.75rem;
}

.cat-plain {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    font-weight: 700;
}

.cat-plain .glyph {
    color: hsl(var(--muted) / 0.5);
}

.cat-compare {
    display: grid;
    gap: 1.5rem;
}

.cat-compare-card {
    padding: 1.25rem;
}

.cat-compare-card.is-best {
    border-color: hsl(var(--p));
}

.cat-compare-head {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.cat-compare-head img {
    width: 2.75rem;
    height: 2.75rem;
    border-radius: 0.75rem;
    object-fit: cover;
}

.cat-compare-head strong {
    display: flex;
    align-items: center;
    gap: 0.35rem;
    font-size: 0.875rem;
}

.cat-compare-head p {
    overflow: hidden;
    color: hsl(var(--muted));
    font-size: 11px;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.cat-score {
    margin-inline-start: auto;
    border-radius: 999px;
    background: hsl(var(--accent));
    color: hsl(var(--p));
    padding: 0.25rem 0.6rem;
    font-size: 10px;
    font-weight: 700;
}

.cat-packages {
    display: grid;
    gap: 0.75rem;
}

.cat-package {
    display: flex;
    flex-direction: column;
    padding: 1rem;
}

.cat-package.is-hot {
    border-color: hsl(var(--p));
    background: hsl(var(--accent) / 0.4);
}

.cat-package-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.5rem;
}

.cat-package h3,
.cat-package-top span {
    color: hsl(var(--p));
    font-size: 0.75rem;
    font-weight: 700;
}

.cat-hot {
    border-radius: 999px;
    background: hsl(var(--p));
    color: white;
    padding: 0.1rem 0.45rem;
    font-size: 9px;
    font-weight: 700;
}

.cat-package b {
    display: block;
    margin-top: 0.25rem;
    font-size: 1.125rem;
}

.cat-package b small,
.cat-package .muted,
.cat-fine {
    color: hsl(var(--muted));
    font-size: 11px;
    font-weight: 600;
}

.cat-package ul,
.cat-list {
    margin: 0.75rem 0 0;
    padding: 0;
    list-style: none;
}

.cat-package li,
.cat-list li {
    display: flex;
    align-items: flex-start;
    gap: 0.35rem;
    margin-top: 0.35rem;
    color: hsl(var(--muted));
    font-size: 11px;
}

.cat-package li .glyph,
.cat-list li .glyph {
    margin-top: 0.1rem;
    font-size: 0.75rem;
    color: hsl(var(--p));
}

.cat-package .cat-btn {
    flex: none;
    margin-top: 0.75rem;
    font-size: 10px;
}

.cat-profile {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.cat-profile img.avatar {
    width: 5rem;
    height: 5rem;
    border-radius: 1rem;
    object-fit: cover;
}

.cat-profile h1 {
    font-size: 1.25rem;
}

.cat-profile-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.cat-profile-actions .cat-btn,
.cat-profile-actions .ghost {
    flex: none;
}

.cat-stats {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.75rem;
    margin-top: -1.5rem;
}

.cat-stat,
.cat-fact {
    padding: 1rem;
    text-align: center;
}

.cat-stat .glyph,
.cat-fact .glyph {
    color: hsl(var(--p));
    font-size: 1.25rem;
}

.cat-stat strong,
.cat-fact strong {
    display: block;
    font-size: 1.125rem;
}

.cat-stat span,
.cat-fact span {
    color: hsl(var(--muted));
    font-size: 11px;
}

.cat-tabs {
    display: flex;
    gap: 0.25rem;
    overflow-x: auto;
    margin-top: 2rem;
    padding: 0.25rem;
    border-radius: 999px;
    background: hsl(var(--accent));
}

.cat-tabs a {
    flex: none;
    border-radius: 999px;
    padding: 0.4rem 0.8rem;
    color: hsl(var(--muted));
    font-size: 0.75rem;
    font-weight: 600;
}

.cat-tabs a.is-on {
    background: hsl(var(--card));
    color: hsl(var(--fg));
    box-shadow: var(--shadow-card);
}

.cat-panel-block {
    margin-top: 1.5rem;
}

.cat-about,
.cat-split > div {
    padding: 1.25rem;
}

.cat-about p,
.cat-muted {
    color: hsl(var(--muted));
    font-size: 0.875rem;
    line-height: 1.7;
}

.cat-split {
    display: grid;
    gap: 1rem;
    margin-top: 1rem;
}

.cat-split h3,
.cat-subhead {
    margin-bottom: 0.75rem;
    font-size: 0.875rem;
}

.cat-team,
.cat-people {
    display: grid;
    gap: 0.75rem;
}

.cat-people .cat-star {
    margin-inline-start: auto;
}

#providers {
    scroll-margin-top: 1.25rem;
}

.cat-person {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem;
}

.cat-person img {
    width: 2.75rem;
    height: 2.75rem;
}

.cat-person strong {
    display: block;
    font-size: 0.875rem;
}

.cat-person span,
.cat-person p {
    color: hsl(var(--muted));
    font-size: 11px;
}

.cat-facts {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.75rem;
    margin-top: 1rem;
}

.cat-fact {
    text-align: start;
}

.cat-works {
    display: grid;
    gap: 1rem;
}

.cat-work {
    overflow: hidden;
}

.cat-work img {
    width: 100%;
    height: 11rem;
    object-fit: cover;
}

.cat-work div {
    padding: 1rem;
}

.cat-work header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.5rem;
}

.cat-work header span,
.cat-work > div > p {
    color: hsl(var(--muted));
    font-size: 11px;
}

.cat-review-hero {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.25rem;
}

.cat-review-hero strong {
    color: hsl(var(--p));
    font-size: 1.875rem;
}

.cat-stars {
    display: flex;
    gap: 0.1rem;
    color: hsl(var(--p));
}

.cat-stars .off {
    color: hsl(var(--muted));
}

.cat-review {
    padding: 1rem;
    margin-top: 1rem;
}

.cat-review header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.5rem;
}

.cat-review header span,
.cat-review p {
    color: hsl(var(--muted));
    font-size: 0.75rem;
}

.cat-sim {
    display: grid;
    gap: 1rem;
}

.cat-sim-card {
    padding: 1.25rem;
}

.cat-sim h3 {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1rem;
    color: hsl(var(--p));
    font-size: 1rem;
}

.cat-progress {
    display: flex;
    gap: 0.25rem;
    margin-bottom: 1.25rem;
}

.cat-progress div {
    flex: 1;
    min-width: 0;
}

.cat-progress i {
    display: block;
    height: 0.375rem;
    border-radius: 999px;
    background: hsl(var(--line));
    font-style: normal;
}

.cat-progress .is-on i {
    background: hsl(var(--p));
}

.cat-progress span {
    display: block;
    margin-top: 0.25rem;
    overflow: hidden;
    color: hsl(var(--muted));
    font-size: 10px;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.cat-progress .is-current span {
    color: hsl(var(--p));
    font-weight: 700;
}

.cat-choice {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.5rem;
}

.cat-choice button,
.cat-option,
.cat-addon {
    border: 1px solid hsl(var(--line));
    border-radius: 0.75rem;
    background: hsl(var(--bg));
    color: hsl(var(--muted));
    cursor: pointer;
    text-align: start;
}

.cat-choice button {
    padding: 0.5rem;
    font-size: 11px;
    font-weight: 600;
    text-align: center;
}

.cat-choice button.is-on,
.cat-option.is-on,
.cat-addon.is-on {
    border-color: hsl(var(--p));
    background: hsl(var(--accent));
    color: hsl(var(--p));
}

.cat-option,
.cat-addon {
    display: flex;
    width: 100%;
    align-items: center;
    justify-content: space-between;
    gap: 0.5rem;
    margin-top: 0.5rem;
    padding: 0.75rem;
    font-size: 0.75rem;
    font-weight: 600;
}

.cat-option small {
    display: block;
    color: hsl(var(--muted));
    font-size: 11px;
    font-weight: 500;
}

.cat-estimate {
    border-radius: 1rem;
    padding: 1rem;
    background: linear-gradient(135deg, hsl(275 100% 25%), hsl(261 100% 62%));
    color: white;
}

.cat-estimate strong {
    display: block;
    font-size: 1.5rem;
}

.cat-estimate span,
.cat-estimate p {
    color: rgb(255 255 255 / 0.9);
    font-size: 11px;
}

.cat-time {
    display: grid;
    gap: 0.5rem;
    margin-top: 0.75rem;
}

.cat-time div {
    display: grid;
    grid-template-columns: 5rem 1fr 7rem 4rem;
    align-items: center;
    gap: 0.5rem;
    font-size: 11px;
}

.cat-time i {
    display: block;
    height: 0.5rem;
    overflow: hidden;
    border-radius: 999px;
    background: hsl(var(--line));
    font-style: normal;
}

.cat-time b {
    display: block;
    height: 100%;
    border-radius: 999px;
    background: hsl(var(--p));
}

.cat-quote {
    margin-top: 0.75rem;
    padding: 1rem;
    border: 1px solid hsl(var(--p) / 0.3);
    border-radius: 1rem;
    background: hsl(var(--accent) / 0.5);
}

.cat-quote-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.5rem;
}

.cat-status {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-top: 0.35rem;
    font-size: 11px;
}

.cat-status i {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 1rem;
    height: 1rem;
    flex: none;
    border-radius: 999px;
    background: hsl(var(--line));
    color: hsl(var(--muted));
    font-style: normal;
    font-size: 9px;
    font-weight: 700;
}

.cat-status.is-on i {
    background: hsl(var(--p));
    color: white;
}

.cat-status.is-on span {
    font-weight: 600;
}

.cat-chat {
    display: flex;
    flex-direction: column;
    min-height: 22rem;
}

.cat-log {
    flex: 1;
    min-height: 16rem;
    max-height: 24rem;
    overflow: auto;
    border-radius: 0.75rem;
    background: hsl(var(--bg));
    padding: 0.75rem;
}

.cat-log p.empty {
    padding: 2.5rem 0.5rem;
    color: hsl(var(--muted));
    font-size: 0.75rem;
    text-align: center;
}

.cat-bubble {
    display: flex;
    margin-top: 0.5rem;
}

.cat-bubble.me {
    justify-content: flex-end;
}

.cat-bubble span {
    max-width: 85%;
    border-radius: 1rem;
    padding: 0.5rem 0.75rem;
    background: hsl(var(--card));
    border: 1px solid hsl(var(--line));
    font-size: 0.75rem;
    line-height: 1.6;
}

.cat-bubble.me span {
    border: 0;
    background: hsl(var(--p));
    color: white;
}

.cat-chat-form {
    display: flex;
    gap: 0.5rem;
    margin-top: 0.75rem;
}

.cat-chat-form input {
    flex: 1;
    min-height: 2.5rem;
    padding: 0.4rem 0.9rem;
    border: 1px solid hsl(var(--line));
    border-radius: 999px;
    background: white;
}

.cat-sim-nav {
    display: flex;
    gap: 0.5rem;
    margin-top: 1.25rem;
}

.cat-sim-nav .cat-btn {
    flex: 1;
}

.cat-fine {
    margin-top: 0.75rem;
    text-align: center;
}

.cat .home-footer {
    margin-top: 3rem;
}

.cat .home-footer a,
.cat .home-footer span,
.cat .wa {
    color: hsl(var(--bg) / 0.6);
}

.cat .home-footer a:hover,
.cat .wa:hover {
    color: hsl(var(--bg));
}

@media (min-width: 640px) {
    .cat-highlights,
    .cat-steps,
    .cat-works,
    .cat-people {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .cat-profile {
        flex-direction: row;
        align-items: center;
    }

    .cat-profile .copy {
        flex: 1;
    }
}

@media (min-width: 768px) {
    .cat-hero {
        height: 24rem;
    }

    .cat-hero h1,
    .cat-slide-copy h3 {
        font-size: 2rem;
    }

    .cat-hero-copy > p,
    .cat-slide-copy p {
        font-size: 1rem;
    }

    .cat-viewport {
        height: 26rem;
    }

    .cat-section h2,
    .cat-banner h1 {
        font-size: 1.5rem;
    }

    .cat-panel,
    .cat-packages,
    .cat-team {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .cat-others,
    .cat-stats,
    .cat-facts {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }

    .cat-providers {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .cat-sort {
        grid-column: 1 / -1;
    }
}

@media (min-width: 1024px) {
    .cat-steps,
    .cat-providers {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .cat-steps {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }

    .cat-packages {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .cat-sim {
        grid-template-columns: 1fr 1fr;
    }

    .cat-split {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 767px) {
    .cat {
        padding-bottom: 4.25rem;
    }

    .cat .tabbar a {
        color: hsl(var(--muted));
    }

    .cat .tabbar a[aria-current="page"] {
        color: hsl(var(--p));
        font-weight: 600;
    }
}

[dir="rtl"] .cat-back .glyph,
[dir="rtl"] .cat-prev .glyph {
    transform: none;
}

[dir="rtl"] .glyph.cat-forward,
[dir="rtl"] .cat-next .glyph {
    transform: scaleX(-1);
}

@media (prefers-reduced-motion: reduce) {
    .cat-slide,
    .cat-mini img,
    .cat-provider {
        transition: none;
    }
}
