@font-face {
font-family: 'Plex';
font-display: swap;
font-weight: 100 549;
src: url(assets/fonts/ibm-plex-sans-arabic-arabic-400-normal.woff2?v=r00009) format('woff2');
unicode-range: U+0600-0670, U+06D4, U+FD3E-FD3F, U+200C-200F;
}
@font-face {
font-family: 'Plex';
font-display: swap;
font-weight: 550 1000;
src: url(assets/fonts/ibm-plex-sans-arabic-arabic-600-normal.woff2?v=r00009) format('woff2');
unicode-range: U+0600-0670, U+06D4, U+FD3E-FD3F, U+200C-200F;
}
@font-face {
font-family: 'Plex';
font-display: swap;
font-weight: 100 549;
src: url(assets/fonts/ibm-plex-sans-arabic-latin-400-normal.woff2?v=r00009) format('woff2');
unicode-range: U+0000-00FF, U+2000-206F, U+20AC, U+2122, U+2212;
}
@font-face {
font-family: 'Plex';
font-display: swap;
font-weight: 550 1000;
src: url(assets/fonts/ibm-plex-sans-arabic-latin-600-normal.woff2?v=r00009) format('woff2');
unicode-range: U+0000-00FF, U+2000-206F, U+20AC, U+2122, U+2212;
}
@font-face {
font-family: 'Sora';
font-display: swap;
font-weight: 500 1000;
src: url(assets/fonts/sora-latin-600-normal.woff2?v=r00009) format('woff2');
unicode-range: U+0000-00FF, U+0131, U+2000-206F;
}
:root {
--font: 'Plex', system-ui, -apple-system, 'Segoe UI', Tahoma, sans-serif;
--font-brand: 'Sora', system-ui, sans-serif;
--teal: #1f4e5a;
--deep: #143840;
--apricot: #e8a87c;
--on-teal: #f6f1ea;
--sand: #ece4d6;
--paper: #f8f8f7;
--surface: #fff;
--muted: #ebeae9;
--border: #dfdedd;
--fg: #1e2a2e;
--fg2: #3d4a4e;
--fg3: #51595b;
--ok: #15803d;
--warn: #b45309;
--err: #b91c1c;
--r: 14px;
--max: 1160px;
}
* {
box-sizing: border-box;
}
html {
scroll-behavior: smooth;
scroll-padding-top: 76px;
}
body {
margin: 0;
font-family: var(--font);
font-size: 16px;
line-height: 1.75;
color: var(--fg);
background: var(--paper);
-webkit-font-smoothing: antialiased;
}
h1,
h2,
h3 {
font-weight: 600;
line-height: 1.35;
margin: 0;
letter-spacing: -0.01em;
}
p {
margin: 0;
}
a {
color: inherit;
}
img,
svg {
display: block;
max-width: 100%;
}
.wrap {
max-width: var(--max);
margin-inline: auto;
padding-inline: 20px;
}
:focus-visible {
outline: 3px solid var(--apricot);
outline-offset: 2px;
border-radius: 6px;
}
.btn {
display: inline-flex;
align-items: center;
justify-content: center;
gap: 8px;
height: 48px;
padding: 0 24px;
border-radius: 999px;
border: 1.5px solid transparent;
font: inherit;
font-weight: 600;
font-size: 15px;
cursor: pointer;
text-decoration: none;
transition:
transform 0.15s,
background-color 0.15s,
border-color 0.15s;
}
.btn:hover {
transform: translateY(-1px);
}
.btn.primary {
background: var(--teal);
color: var(--on-teal);
}
.btn.primary:hover {
background: var(--deep);
}
.btn.apricot {
background: var(--apricot);
color: var(--deep);
}
.btn.ghost {
border-color: currentColor;
background: transparent;
}
.btn.sm {
height: 40px;
padding: 0 18px;
font-size: 14px;
}
.top {
position: sticky;
top: 0;
z-index: 20;
background: color-mix(in srgb, var(--paper) 92%, transparent);
backdrop-filter: saturate(1.4) blur(10px);
border-bottom: 1px solid var(--border);
}
.top .wrap {
display: flex;
align-items: center;
gap: 20px;
height: 64px;
}
.logo {
display: flex;
align-items: center;
gap: 9px;
text-decoration: none;
direction: ltr;
}
.logo .mk {
flex: none;
width: 24px;
height: 24px;
color: #1f4e5a;
}
.logo b {
font-family: var(--font-brand);
font-size: 22px;
font-weight: 600;
line-height: 1;
color: #1f4e5a;
}
.fhead .logo .mk,
.logo b.on-dark {
color: #f6f1ea;
}
.nav {
display: flex;
gap: 4px;
margin-inline-start: 12px;
}
.nav a {
padding: 8px 12px;
border-radius: 999px;
text-decoration: none;
font-size: 14.5px;
color: var(--fg2);
}
.nav a:hover {
background: var(--muted);
}
.grow {
flex: 1;
}
.ib {
width: 38px;
height: 38px;
border-radius: 999px;
border: 1px solid var(--border);
background: var(--surface);
color: var(--fg2);
cursor: pointer;
display: grid;
place-items: center;
font: inherit;
font-size: 13px;
font-weight: 600;
}
.ib:hover {
background: var(--muted);
}
.menu-btn {
display: none;
}
@keyframes rise {
from {
opacity: 0;
transform: translateY(6px);
}
to {
opacity: 1;
transform: none;
}
}
section {
padding-block: 80px;
}
.sec-h {
max-width: 720px;
margin-bottom: 40px;
}
.sec-h .k {
color: var(--teal);
font-weight: 600;
font-size: 14px;
margin-bottom: 8px;
}
.sec-h h2 {
font-size: clamp(26px, 3.2vw, 38px);
}
.sec-h p {
margin-top: 12px;
color: var(--fg2);
font-size: 17px;
}
.alt {
background: var(--sand);
}
.card {
background: var(--surface);
border: 1px solid var(--border);
border-radius: var(--r);
padding: 22px;
}
.tabs {
display: flex;
flex-wrap: wrap;
gap: 8px;
margin-bottom: 20px;
}
.tab {
height: 44px;
padding: 0 18px;
border-radius: 999px;
border: 1.5px solid var(--border);
background: var(--surface);
font: inherit;
font-size: 14.5px;
font-weight: 500;
cursor: pointer;
color: var(--fg2);
}
.tab .n {
display: inline-grid;
place-items: center;
width: 22px;
height: 22px;
border-radius: 99px;
background: var(--muted);
font-size: 12px;
margin-inline-end: 8px;
}
.tab[aria-selected='true'] {
background: var(--teal);
border-color: var(--teal);
color: var(--on-teal);
}
.tab[aria-selected='true'] .n {
background: rgba(255, 255, 255, 0.22);
}
.demo {
background: var(--deep);
color: var(--on-teal);
}
.demo .sec-h p {
color: #c9d6d8;
}
.demo .sec-h .k {
color: var(--apricot);
}
.state {
display: none;
}
.state.on {
display: block;
animation: rise 0.3s ease both;
}
.sbx {
background: var(--surface);
color: var(--fg);
border-radius: 18px;
overflow: hidden;
border: 1px solid #2a5a66;
}
.sbx .scan {
display: flex;
flex-wrap: wrap;
gap: 8px;
margin-bottom: 14px;
}
.final {
background: var(--teal);
color: var(--on-teal);
text-align: center;
}
.final h2 {
font-size: clamp(26px, 3.4vw, 40px);
}
.final p {
margin: 12px auto 26px;
max-width: 560px;
color: #d6e3e5;
}
footer {
background: var(--deep);
color: #aebfc2;
padding-block: 40px;
font-size: 14px;
}
footer .wrap {
display: flex;
flex-wrap: wrap;
gap: 24px;
justify-content: space-between;
align-items: center;
}
footer a {
color: #d6e3e5;
}
.rv {
opacity: 0;
transform: translateY(14px);
transition:
opacity 0.5s,
transform 0.5s;
}
.rv.in {
opacity: 1;
transform: none;
}
@media (prefers-reduced-motion: reduce) {
.rv {
opacity: 1;
transform: none;
transition: none;
}
* {
animation: none !important;
scroll-behavior: auto;
}
}
.mockbar {
position: fixed;
inset-block-end: 12px;
inset-inline-start: 12px;
z-index: 50;
background: #1e2a2e;
color: #fff;
padding: 8px 14px;
border-radius: 99px;
font-size: 12.5px;
display: flex;
gap: 10px;
align-items: center;
box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
}
.mockbar button {
border: 0;
background: #2e4a52;
color: #fff;
border-radius: 99px;
padding: 4px 12px;
font: inherit;
cursor: pointer;
}
@media (max-width: 980px) {
.nav {
display: none;
}
.menu-btn {
display: grid;
}
.nav.open {
display: flex;
position: absolute;
inset-block-start: 64px;
inset-inline: 0;
flex-direction: column;
background: var(--paper);
padding: 12px 20px;
border-bottom: 1px solid var(--border);
}
}
@media (max-width: 620px) {
section {
padding-block: 56px;
}
.top .btn {
display: none;
}
}
.nav a[aria-current='page'] {
background: var(--muted);
color: var(--fg);
font-weight: 600;
}
.page-hero {
background: var(--deep);
color: var(--on-teal);
}
.page-hero .wrap {
padding-block: 64px 56px;
max-width: 880px;
}
.page-hero h1 {
font-size: clamp(28px, 4vw, 44px);
line-height: 1.3;
}
.page-hero h1 em {
font-style: normal;
color: var(--apricot);
}
.page-hero p {
margin-top: 16px;
font-size: 18px;
color: #c9d6d8;
max-width: 680px;
}
.crumb {
font-size: 13.5px;
color: #aebfc2;
margin-bottom: 14px;
}
.crumb a {
color: #d6e3e5;
}
.list-ck {
list-style: none;
margin: 12px 0 0;
padding: 0;
display: grid;
gap: 8px;
}
.list-ck li {
display: flex;
gap: 10px;
align-items: flex-start;
font-size: 15px;
color: var(--fg2);
}
.list-ck li::before {
content: '✓';
color: var(--ok);
font-weight: 700;
flex: none;
}
.scope .card h3 {
font-size: 18px;
}
.scope .in {
border-color: var(--teal);
}
.jform {
display: none;
}
.jform.on {
display: block;
animation: rise 0.3s ease both;
}
.jstate {
display: none;
}
.jstate.on {
display: block;
}
.g2 {
display: grid;
grid-template-columns: 1fr 1fr;
gap: 14px;
}
.f2 {
display: grid;
gap: 6px;
margin-bottom: 14px;
}
.f2 label {
font-size: 14px;
font-weight: 500;
}
.f2 label b {
color: var(--err);
}
.f2 input,
.f2 select,
.f2 textarea {
border: 1.5px solid var(--border);
border-radius: 10px;
background: var(--surface);
color: var(--fg);
font: inherit;
padding: 11px 14px;
min-height: 46px;
}
.f2 input[dir='ltr'] {
direction: ltr;
text-align: start;
}
html[dir='rtl'] .f2 input[dir='ltr'] {
text-align: left;
}
.f2 input[type='file'] {
padding: 9px 12px;
}
.fs {
border: 0;
padding: 0;
margin: 0 0 14px;
}
.fs legend {
font-size: 14px;
font-weight: 500;
margin-bottom: 8px;
padding: 0;
}
.cks {
display: grid;
grid-template-columns: 1fr 1fr;
gap: 8px;
}
.ck {
display: flex;
gap: 10px;
align-items: flex-start;
font-size: 14.5px;
color: var(--fg2);
cursor: pointer;
}
.ck input {
width: 18px;
height: 18px;
margin-top: 3px;
accent-color: var(--teal);
flex: none;
}
.consent {
margin: 6px 0 16px;
}
.err {
color: var(--err);
font-size: 14px;
margin-top: 10px;
min-height: 20px;
}
.okbox {
display: grid;
gap: 6px;
padding: 20px;
border-radius: 12px;
background: #f0fdf4;
border: 1px solid #86d3a3;
color: #14532d;
}
.okbox b {
font-size: 18px;
}
@media (max-width: 620px) {
.g2,
.cks {
grid-template-columns: 1fr;
}
}
.final h2 + .btn {
margin-top: 24px;
}
.ico {
width: 22px;
height: 22px;
flex: none;
}
.tab .n {
background: none !important;
width: auto !important;
height: auto !important;
margin-inline-end: 8px;
}
.tab .n .ico {
width: 18px;
height: 18px;
}
.page-hero,
.demo {
background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='64' height='64' viewBox='0 0 64 64'%3E%3Crect x='12' y='12' width='40' height='40' fill='none' stroke='%231b4650' stroke-width='1.2'/%3E%3Crect x='12' y='12' width='40' height='40' fill='none' stroke='%231b4650' stroke-width='1.2' transform='rotate(45 32 32)'/%3E%3Ccircle cx='32' cy='32' r='3' fill='%231b4650'/%3E%3C/svg%3E");
background-size: 64px 64px;
}
.page-hero + section,
.page-hero + .alt {
position: relative;
}
@keyframes sway {
0%,
100% {
transform: rotate(7deg);
}
50% {
transform: rotate(3deg);
}
}
@keyframes bob {
0%,
100% {
transform: rotate(-8deg) translateY(0);
}
50% {
transform: rotate(-8deg) translateY(-8px);
}
}
.split {
display: grid;
grid-template-columns: 1.3fr 1fr;
gap: 32px;
align-items: center;
margin-bottom: 8px;
}
.split .sec-h {
margin-bottom: 24px;
}
@media (max-width: 980px) {
.split {
grid-template-columns: 1fr;
}
}
.final {
position: relative;
overflow: hidden;
}
.final::before,
.final::after {
content: '';
position: absolute;
width: 260px;
height: 96px;
border-radius: 99px;
border: 2px solid rgba(246, 241, 234, 0.18);
}
.final::before {
inset-block-start: -30px;
inset-inline-start: -60px;
transform: rotate(-14deg);
}
.final::after {
inset-block-end: -34px;
inset-inline-end: -70px;
transform: rotate(-14deg);
background: rgba(232, 168, 124, 0.14);
border-color: transparent;
}
.final .wrap {
position: relative;
z-index: 1;
}
.card.rv {
transition:
opacity 0.5s,
transform 0.5s,
border-color 0.2s,
box-shadow 0.2s;
}
footer {
padding-block: 48px 24px;
}
.foot-grid {
display: grid;
grid-template-columns: 1.2fr 1.3fr 0.8fr;
gap: 36px;
align-items: start;
}
.foot-grid .fc {
display: grid;
gap: 12px;
align-content: start;
}
.foot-grid p {
color: #aebfc2;
font-size: 14.5px;
line-height: 1.8;
max-width: 340px;
text-wrap: balance;
}
.foot-grid nav a {
color: #d6e3e5;
text-decoration: none;
}
.foot-grid nav a:hover {
text-decoration: underline;
}
.foot-grid nav {
display: grid;
gap: 10px;
font-size: 14.5px;
align-content: start;
}
.foot-bottom {
margin-top: 32px;
padding-top: 18px;
border-top: 1px solid #24505b;
font-size: 13px;
color: #8fa9ae;
}
footer .wrap {
display: block;
}
.foot-grid.wrap {
display: grid;
}
@media (max-width: 820px) {
.foot-grid {
grid-template-columns: 1fr;
}
}
.foot-grid {
grid-template-columns: 1.1fr 1.2fr 0.7fr 0.8fr;
gap: 32px;
}
.foot-grid .fc {
display: flex;
flex-direction: column;
gap: 12px;
align-items: flex-start;
}
.fhead {
height: 52px;
display: flex;
align-items: center;
margin: 0;
}
h2.fhead {
height: auto;
min-height: 0;
font-size: 14px;
font-weight: 600;
line-height: 1.75;
letter-spacing: 0;
color: #f1ece3;
margin: 0 0 4px;
align-items: flex-start;
}
.foot-grid .fc .logo {
height: 52px;
}
.foot-grid .fc p {
margin: 0;
max-width: 320px;
}
.foot-grid nav.fc {
gap: 10px;
}
@media (max-width: 980px) {
.foot-grid {
grid-template-columns: 1fr 1fr;
}
}
@media (max-width: 620px) {
.foot-grid {
grid-template-columns: 1fr;
}
}
bdi {
unicode-bidi: isolate;
}
.nav a {
white-space: nowrap;
font-size: 14px;
padding: 8px 10px;
}
@media (max-width: 1180px) {
.nav {
display: none;
}
.menu-btn {
display: grid;
}
.nav.open {
display: flex;
position: absolute;
inset-block-start: 64px;
inset-inline: 0;
flex-direction: column;
background: var(--paper);
padding: 12px 20px;
border-bottom: 1px solid var(--border);
}
}
dialog.qd {
border: 0;
border-radius: 20px;
padding: 0;
width: min(940px, calc(100vw - 24px));
max-height: calc(100vh - 24px);
background: var(--paper);
color: var(--fg);
box-shadow: 0 30px 80px rgba(0, 0, 0, 0.4);
overflow: auto;
}
dialog.qd::backdrop {
background: rgba(15, 35, 40, 0.62);
}
.qd-x {
position: absolute;
inset-block-start: 12px;
inset-inline-end: 14px;
width: 38px;
height: 38px;
border-radius: 99px;
border: 1px solid var(--border);
background: var(--surface);
font-size: 22px;
line-height: 1;
cursor: pointer;
color: var(--fg2);
}
.qd-grid {
display: grid;
grid-template-columns: 1.25fr 1fr;
gap: 28px;
padding: 34px 30px 30px;
}
.qd h2 {
font-size: 24px;
}
.qd-lead {
color: var(--fg2);
margin: 6px 0 18px;
}
.qd aside {
background: var(--sand);
border-radius: 16px;
padding: 20px;
align-self: start;
}
.qs {
display: none;
}
.qs.on {
display: block;
}
.cks.one {
grid-template-columns: 1fr;
}
.facts-l {
list-style: none;
margin: 0;
padding: 0;
display: grid;
gap: 12px;
}
.facts-l li {
display: flex;
gap: 12px;
align-items: flex-start;
}
.facts-l .ico {
color: var(--teal);
margin-top: 3px;
}
.facts-l small {
display: block;
color: var(--fg3);
font-size: 12.5px;
}
.facts-l b,
.facts-l a {
font-weight: 500;
color: var(--fg);
text-decoration: none;
}
.facts-l a:hover {
text-decoration: underline;
}
@media (max-width: 820px) {
.qd-grid {
grid-template-columns: 1fr;
padding: 56px 18px 22px;
}
}
.final-sub {
margin: 10px auto 24px;
max-width: 560px;
color: #d6e3e5;
}
.final-contact {
margin-top: 18px;
display: flex;
gap: 12px;
justify-content: center;
flex-wrap: wrap;
font-size: 14.5px;
color: #d6e3e5;
}
.final-contact a {
color: #fff;
}
.lg-grid {
display: grid;
grid-template-columns: 260px 1fr;
gap: 36px;
align-items: start;
}
.toc {
position: sticky;
top: 84px;
display: grid;
gap: 6px;
font-size: 14px;
}
.toc b {
margin-bottom: 6px;
}
.toc a {
color: var(--fg2);
text-decoration: none;
padding: 6px 10px;
border-radius: 8px;
}
.toc a:hover {
background: var(--muted);
color: var(--fg);
}
.lg-body {
max-width: 760px;
}
.lg {
margin-bottom: 28px;
}
.lg h2 {
font-size: 20px;
display: flex;
align-items: center;
gap: 12px;
margin-bottom: 10px;
}
.lg .ln {
display: inline-grid;
place-items: center;
width: 30px;
height: 30px;
border-radius: 99px;
background: var(--teal);
color: var(--on-teal);
font-size: 14px;
font-variant-numeric: tabular-nums;
flex: none;
}
.lg p {
color: var(--fg2);
margin-bottom: 10px;
}
.lg h3 {
font-size: 17px;
margin: 18px 0 8px;
}
.lg ul,
.lg ol {
color: var(--fg2);
margin: 0 0 10px;
padding-inline-start: 22px;
}
.lg ul {
list-style: disc;
}
.lg ol {
list-style: decimal;
}
.lg li {
margin-bottom: 4px;
}
.lg-meta {
color: var(--fg3);
font-size: 13.5px;
}
@media (max-width: 900px) {
.lg-grid {
grid-template-columns: 1fr;
}
.toc {
position: static;
}
}
footer .wrap.foot-grid {
display: grid;
align-items: start;
justify-content: stretch;
}
.f2 {
min-width: 0;
}
.f2 input,
.f2 select,
.f2 textarea {
width: 100%;
min-width: 0;
max-width: 100%;
box-sizing: border-box;
}
.g2 > * {
min-width: 0;
}
footer .wrap.foot-bottom {
display: flex;
align-items: center;
justify-content: space-between;
gap: 8px 24px;
}
footer .wrap.foot-bottom > span {
flex: 1 1 auto;
}
@media (max-width: 640px) {
footer .wrap.foot-bottom {
flex-direction: column;
text-align: center;
gap: 12px;
}
}
.as-logo {
display: inline-flex;
flex: none;
}
.as-logo img {
height: 20px;
width: auto;
filter: brightness(0) invert(1);
opacity: 0.95;
}
.cc-logo {
margin-bottom: 14px;
}
.skip {
position: absolute;
inset-inline-start: 12px;
inset-block-start: -60px;
z-index: 100;
background: var(--deep);
color: #fff;
padding: 10px 16px;
border-radius: 10px;
text-decoration: none;
}
.skip:focus {
inset-block-start: 10px;
}
.mb-link {
color: #fff;
margin-inline-start: 6px;
font-size: 12.5px;
text-decoration: underline;
}
.flink {
border: 0;
background: none;
padding: 0;
font: inherit;
color: #d6e3e5;
cursor: pointer;
text-align: start;
}
.flink:hover {
text-decoration: underline;
}
.consent-bar {
position: fixed;
z-index: 60;
inset-block-end: 16px;
inset-inline-end: 16px;
width: min(520px, calc(100vw - 32px));
max-height: calc(100vh - 32px);
overflow: auto;
background: var(--surface);
color: var(--fg);
border: 1px solid var(--border);
border-radius: 18px;
padding: 20px 22px;
box-shadow: 0 20px 60px rgba(0, 0, 0, 0.28);
display: grid;
gap: 12px;
font-size: 14.5px;
}
.consent-bar[hidden] {
display: none;
}
.consent-bar .cb-t {
font-size: 17px;
font-weight: 600;
}
.consent-bar p {
color: var(--fg2);
line-height: 1.7;
}
.consent-bar p a {
color: var(--teal);
}
.cb-cats {
display: none;
gap: 10px;
padding: 12px 0;
border-block: 1px solid var(--border);
}
.consent-bar.detail .cb-cats {
display: grid;
}
.cb-cats .ck b {
color: var(--fg);
}
.cb-act {
display: flex;
flex-wrap: wrap;
gap: 8px;
}
.cb-act .btn {
flex: 1 1 auto;
}
.cb-save,
.consent-bar.detail .cb-more {
display: none;
}
.consent-bar.detail .cb-save {
display: inline-flex;
}
@media (max-width: 560px) {
.consent-bar {
inset-inline: 12px;
inset-block-end: 12px;
width: auto;
padding: 16px;
}
.cb-act .btn {
flex: 1 1 calc(50% - 8px);
}
}
.grid2.stories {
display: grid;
grid-template-columns: 1fr 1fr;
gap: 18px;
}
@media (max-width: 820px) {
.grid2.stories {
grid-template-columns: 1fr;
}
}
.story h3 {
font-size: 19px;
margin: 8px 0 12px;
}
.story-meta {
display: flex;
gap: 10px;
flex-wrap: wrap;
font-size: 13px;
color: var(--fg3);
}
.stg-chip {
background: var(--muted);
color: var(--fg2);
border-radius: 99px;
padding: 2px 10px;
}
.story-dl {
display: grid;
grid-template-columns: 100px 1fr;
gap: 8px 14px;
margin: 0;
font-size: 15px;
}
.story-dl dt {
color: var(--fg3);
}
.story-dl dd {
margin: 0;
color: var(--fg2);
}
.story-quote {
margin-top: 14px;
padding-inline-start: 14px;
border-inline-start: 3px solid var(--apricot);
color: var(--fg2);
font-size: 15px;
}
.tw-wrap {
overflow-x: auto;
padding: 0;
}
table.flow {
width: 100%;
border-collapse: collapse;
font-size: 14.5px;
}
table.flow th,
table.flow td {
text-align: start;
vertical-align: top;
padding: 12px 14px;
border-bottom: 1px solid var(--border);
}
table.flow thead th {
background: var(--muted);
color: var(--fg3);
font-weight: 500;
}
table.flow tbody th {
font-weight: 600;
min-width: 150px;
}
@media (max-width: 620px) {
.story-dl {
grid-template-columns: 1fr;
}
}
.top {
transition:
box-shadow 0.2s,
background-color 0.2s;
}
.top.scrolled {
box-shadow: 0 6px 20px -12px rgb(20 56 64 / 0.35);
background: color-mix(in srgb, var(--paper) 97%, transparent);
}
.top-sentinel {
position: absolute;
inset-block-start: 0;
block-size: 8px;
inline-size: 1px;
pointer-events: none;
}
.nav a[aria-current='page'],
.nav a.here {
color: var(--teal);
background: var(--muted);
font-weight: 600;
}
.to-top {
position: fixed;
inset-block-end: 20px;
inset-inline-end: 20px;
z-index: 15;
inline-size: 44px;
block-size: 44px;
border-radius: 999px;
border: 1px solid var(--border);
background: var(--surface);
color: var(--teal);
font-size: 20px;
cursor: pointer;
display: grid;
place-items: center;
box-shadow: 0 8px 20px -10px rgb(20 56 64 / 0.45);
}
.to-top[hidden] {
display: none;
}
.to-top:hover {
background: var(--muted);
}
.rv {
transition-delay: calc(var(--i, 0) * 70ms);
}
@keyframes pop {
0% {
transform: scale(0.96);
}
60% {
transform: scale(1.02);
}
100% {
transform: none;
}
}
@media (prefers-reduced-motion: no-preference) {
.btn:active {
transform: scale(0.97);
}
.btn.primary:hover {
transform: translateY(-1px);
}
}
