/* SPDX-FileCopyrightText: 2023-2026 Sayantan Santra */ /* SPDX-License-Identifier: MIT */ :root { color-scheme: light dark; /* Colors */ --bg: light-dark(#f8f8f7, #0f1115); --bg-alt: light-dark(#f1f3f5, #171a21); --panel: light-dark(#ffffff, #1d212b); --border: light-dark(rgba(15, 23, 42, 0.08), rgba(255, 255, 255, 0.1)); --text: light-dark(#111827, #f3f4f6); --muted: light-dark(#4b5563, #9ca3af); --accent: light-dark(#2563eb, #6045fa); --accent-dark: light-dark(#1d4ed8, #3b22f6); --accent-soft: light-dark(#dbeafe, #172554); --eyebrow: light-dark(#1d4ed8, #93c5fd); --footer: light-dark(#2563eb, #93c5fd); /* Geometry */ --container: 960px; --radius: 14px; } *, *::before, *::after { box-sizing: border-box; } html { scroll-behavior: smooth; scroll-padding-top: 80px; } body { margin: 0; font-family: "Inter", sans-serif; line-height: 1.6; color: var(--text); background: var(--bg); } .bn { font-family: "Noto Sans Bengali", sans-serif; } .badge-dark { display: none; } .badge-light, .badge-dark { height: 1.2rem; width: auto; } @media (prefers-color-scheme: dark) { .badge-light { display: none; } .badge-dark { display: block; } } .brand-wrap img { height: 2em; transition: filter 0.2s ease; } .brand-wrap img:hover { filter: drop-shadow( 0 0 10px color-mix(in srgb, var(--accent) 45%, transparent) ) drop-shadow(0 0 14px color-mix(in srgb, var(--accent) 25%, transparent)); } a { color: color-mix(in srgb, var(--text) 80%, var(--accent) 20%); text-decoration: underline; text-underline-offset: 0.15em; } a:hover { color: color-mix(in srgb, var(--text) 90%, var(--accent) 10%); text-decoration-color: currentColor; } .nav-links a, .brand, .btn, .resource-link, .footer-inner a { text-decoration: none; } .container { width: min(100% - 2rem, var(--container)); margin: 0 auto; } .narrow { max-width: 820px; } .site-header { position: sticky; top: 0; z-index: 20; background: rgba(midnightblue, 0.95); border-bottom: 1px solid var(--border); backdrop-filter: blur(8px); } .nav { min-height: 72px; display: flex; align-items: center; justify-content: space-between; gap: 1rem; } .latest-version { margin-top: 1rem; display: flex; align-items: center; gap: 0.5rem; } .latest-version a { height: 1.2rem; } .version-label { font-weight: 600; margin-right: 0.35rem; } .hero-meta { margin-top: 0.75rem; display: flex; flex-wrap: wrap; align-items: center; gap: 0.5rem; font-size: 0.95rem; } .hero-meta-label { font-weight: 600; } .hero-meta-link { font-weight: 500; } .hero-meta-sep { opacity: 0.5; } code { font-family: "Jetbrains Mono", monospace; } .hero-meta-password code { font-size: 0.92em; } .brand-group { display: flex; align-items: center; gap: 0.2rem; flex-wrap: wrap; max-width: 30rem; } .brand-wrap { display: inline-flex; align-items: center; gap: 0.6rem; } .brand-stats { display: inline-flex; align-items: center; gap: 0.5rem; flex-wrap: wrap; margin-bottom: 1rem; } .brand-stat { display: inline-flex; align-items: center; } .brand-stat:hover { color: var(--text); } .brand { font-weight: 800; letter-spacing: -0.02em; font-size: 2em; } .brand-wrap img { height: 2em; } .nav-links { display: flex; gap: 1.25rem; } .nav-links a { color: var(--muted); font-weight: 500; } .nav-links a:hover { color: var(--text); } .nav-toggle { display: none; border: 1px solid var(--border); background: transparent; color: var(--text); border-radius: 10px; padding: 0.6rem 0.9rem; cursor: pointer; } .resource-links { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 0.75rem; } .developer-links div:not(:last-child) a { margin-bottom: 1.25rem; } .resource-link { display: flex; flex-direction: column; gap: 0.25rem; padding: 0.9rem 1rem; border: 1px solid var(--border-color, gainsboro); border-radius: 12px; text-decoration: none; color: inherit; background: var(--card-bg, white); transition: transform 0.15s ease, box-shadow 0.15s ease, border-color 0.15s ease; } .resource-link:hover { transform: translateY(-1px); box-shadow: 0 6px 18px rgba(black, 0.08); border-color: var(--accent-color, gray); } .resource-link strong { font-size: 0.98rem; line-height: 1.2; } .resource-link span { font-size: 0.9rem; color: var(--muted-color, dimgray); line-height: 1.4; } .hero { padding: 4rem 0 4rem; } .hero-inner { max-width: 760px; } .eyebrow { margin: 0 0 0.75rem; font-size: 0.8rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--eyebrow); } .hero h1, .section-heading h2 { margin: 0; line-height: 1.05; letter-spacing: -0.04em; } .hero h1 { font-size: clamp(2.4rem, 6vw, 4.2rem); } .hero-text { margin: 1.25rem 0 0; max-width: 60ch; color: var(--text); font-size: 1.05rem; } .hero-actions { display: flex; flex-wrap: wrap; gap: 1rem; margin-top: 1.75rem; } .btn { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 0.85rem 1.15rem; border-radius: 999px; font-weight: 700; border: 1px solid transparent; } .btn-primary { background: var(--accent); color: white; } .btn-primary:hover { background: var(--accent-dark); } .btn-secondary { border-color: var(--border); color: var(--text); } .section { padding: 2rem 0; } .section:nth-child(even) { background: var(--bg-alt); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); } .section-heading { margin-bottom: 1.5rem; } .section-heading h2 { font-size: clamp(1.8rem, 4vw, 2.6rem); } .card-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; } .screenshots-pair { --shot-height: clamp(160px, 34vw, 420px); display: flex; gap: 1rem; justify-content: center; align-items: flex-start; flex-wrap: nowrap; overflow-x: auto; } .screenshot-frame { margin: 0; border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; background: var(--panel); line-height: 0; flex: 0 0 auto; } .screenshot-frame img { display: block; height: var(--shot-height); width: auto; max-width: none; } .card, .panel, .resource-link { display: block; background: var(--panel); border: 1px solid var(--border); border-radius: var(--radius); padding: 1.25rem; } .card h3, .panel h3 { margin-top: 0; margin-bottom: 0.5rem; } .card p, .panel p, .resource-link span, .site-footer p { color: var(--muted); } .stack { display: grid; gap: 1rem; } .resource-link strong { display: block; margin-bottom: 0.35rem; } .resource-link:hover { border-color: rgba(blueviolet, 0.4); } .site-footer { padding: 1.75rem 0 2.5rem; } .footer-inner { display: flex; justify-content: right; gap: 1rem; border-top: 1px solid var(--border); padding-top: 1.25rem; } .footer-inner a { color: var(--footer); } @media (max-width: 768px) { .nav-toggle { display: inline-flex; } .nav-links { position: absolute; top: 72px; left: 1rem; right: 1rem; display: none; flex-direction: column; gap: 0.75rem; background: var(--bg); border: 1px solid var(--border); border-radius: 12px; padding: 1rem; } .section { padding-top: 1rem; } .hero { padding-top: 1rem; padding-bottom: 1rem; } .hero-meta-sep { visibility: hidden; } .badge { margin-bottom: 0.5rem; } .developer-links div:not(:last-child) { margin-bottom: 0.75rem; } .developer-links div:not(:last-child) a { margin-bottom: auto; } .nav-links.is-open { display: flex; } .card-grid { grid-template-columns: 1fr; } }